1. 配置zookeeper,启用sasl认证,cat zoo.cfg查看到如下内容: tickTime=2000initLimit=10syncLimit=5clientPort=2181maxClientCnxns=2000maxSessionTimeout=60000000autopurge.snapRetainCount=10autopurge.purgeInterval=1preAllocSize=131072snapCount=3000000leaderServes=yes dataDir=/data/log/zookeeper/data dataLogDir=/data...
要减少zookeeper会话过期,请调整gc或在代理配置中增加zookeeper.session.timeout.ms。https://cwiki.apac...
Transitioning to standby in 10000 ms if connection is not reestablished. Message 2020-05-05 03:17:07.7924490|Received RMFatalEvent of type STATE_STORE_FENCED, caused by org.apache.zookeeper.KeeperException$NoAuthException: KeeperErrorCode = NoAuth ... 2020-05-05 03:17:08.3890350|State store ...
ZooKeeper) [2020-09-17 15:53:03,376] INFO Initiating client connection, connectString=localhost:2181 sessionTimeout=18000 watcher=kafka.zookeeper.ZooKeeperClient$ZooKeeperClientWatcher$@47af7f3d (org.apache.zookeeper.ZooKeeper) [2020-09-17 15:53:03,380] INFO jute.maxbuffer value is 4194304 Bytes...
Will not attempt to authenticate using SASL (unknown error) (org.apache.zookeeper.ClientCnxn) [main-SendThread(localhost:2181)] 2021-09-29 16:46:34,534 INFO Socket connection established, initiating session, client: /127.0.0.1:43558, server: localhost/127.0.0.1:2181 (org.apache.zookeeper....
.ms = 2000 broker.id = 500 broker.id.generation.enable = false broker.rack = null broker.session.timeout.ms = 9000 client.quota.callback.class = null compression.type = producer connection.failed.authentication.delay.ms = 100 connections.max.idle.ms = 600000 connections.max.reauth.ms = 0...
2281 ## Zookeeper LoadBalancerzookeeper.connection.timeout.ms : 30000zookeeper.sync.time.ms : 30000zookeeper.ssl.client.enable : truezookeeper.client.Cnxn.Socket : org.apache.zookeeper.ClientCnxnSocketNettyzookeeper.client.secure : truezookeeper.ssl.protocol : SSLzookeeper.ssl.enabled.protocols : SSL...
zookeeper.connection.timeout.ms=18000 group.initial.rebalance.delay.ms=0 配置环境变量 vim etc/profile export KAFKA_HOME=/opt/kafka export PATH=$PATH:$KAFKA_HOME/bin source /etc/profile 启动kafka kafka-server-start.sh -daemon /opt/kafka/config/server.properties ...
zookeeper.connection.timeout.ms=18000 group.initial.rebalance.delay.ms=0 security.inter.broker.protocol=SASL_PLAINTEXT sasl.enabled.mechanisms=PLAIN sasl.mechanism.inter.broker.protocol=PLAIN authorizer.class.name=kafka.security.authorizer.AclAuthorizer ...
zookeeper.connection.timeout.ms=18000 group.initial.rebalance.delay.ms=0 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 主要是以下这三个位置 listeners=PLAINTEXT://:9092listener.security.protocol.map=PLAINTEXT:PLAINTEXT,SSL:SSL,SASL_PLAINTEXT...