Connection Settings
Review the following connection setting in the Advanced kafka-broker category, and modify as needed:
-
zookeeper.session.timeout.ms
-
Specifies ZooKeeper session timeout, in milliseconds. The default value is 30000 ms.
If the server fails to signal heartbeat to ZooKeeper within this period of time, the server is considered to be dead. If you set this value too low, the server might be falsely considered dead; if you set it too high it may take too long to recognize a truly dead server.
If you see frequent disconnection from the ZooKeeper server, review this setting. If long garbage collection pauses cause Kafka to lose its ZooKeeper session, you might need to configure longer timeout values.
- advertised.listeners
-
If you have manually set listeners to
advertised.listeners=PLAINTEXT://$HOSTNAME:$PORT
, after enabling Kerberos, change the listener configuration toadvertised.listeners= SASL_PLAINTEXT://$HOSTNAME:$PORT
.
Important | |
---|---|
Do not change the following connection settings:
|