Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/security/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Security 未能重新验证Kafka客户端SASL连接,应关闭连接_Security_Apache Kafka_Apache Kafka Security - Fatal编程技术网

Security 未能重新验证Kafka客户端SASL连接,应关闭连接

Security 未能重新验证Kafka客户端SASL连接,应关闭连接,security,apache-kafka,apache-kafka-security,Security,Apache Kafka,Apache Kafka Security,根据KIP-368(),当“connections.max.reauth.ms”显式设置为正数时,服务器将断开任何未重新验证的SASL连接。 如果重新身份验证尝试失败,则代理将关闭连接,不支持重试。 然而,当我的客户端无法重新验证时,它将进入无限的重试循环 INFO [kafka-producer-network-thread | producer-1] org.apache.kafka.common.network.Selector: [Producer clientId=producer-1

根据KIP-368(),当“connections.max.reauth.ms”显式设置为正数时,服务器将断开任何未重新验证的SASL连接。 如果重新身份验证尝试失败,则代理将关闭连接,不支持重试。 然而,当我的客户端无法重新验证时,它将进入无限的重试循环

INFO [kafka-producer-network-thread | producer-1] org.apache.kafka.common.network.Selector: [Producer clientId=producer-1][Producer clientId=producer-1] Failed authentication with 10.4.252.249/10.4.252.249 (Authentication failed during authentication due to invalid credentials with SASL mechanism)
ERROR [kafka-producer-network-thread | producer-1] org.apache.kafka.clients.NetworkClient: [Producer clientId=producer-1] Connection to node 0 (10.4.252.249/10.4.252.249:9096) failed authentication due to: Authentication failed during authentication due to invalid credentials with SASL mechanism
INFO [kafka-producer-network-thread | producer-1] org.apache.kafka.common.network.Selector: [Producer clientId=producer-1][Producer clientId=producer-1] Failed authentication with 10.4.252.249/10.4.252.249 (Authentication failed during authentication due to invalid credentials with SASL mechanism)
ERROR [kafka-producer-network-thread | producer-1] org.apache.kafka.clients.NetworkClient: [Producer clientId=producer-1] Connection to node 0 (10.4.252.249/10.4.252.249:9096) failed authentication due to: Authentication failed during authentication due to invalid credentials with SASL mechanism
我希望客户端退出,这样我就可以冒泡出异常。 有没有办法解决这个问题