Issue with Stream Node
We’re currently facing an issue where the Stream node is intermittently stopping in our environment. As part of our investigation, we referred to a https://support.pega.com/support-doc/kafka-fails-clean-compacted-topics-windows-server-2016? which suggests setting the cleanup.policy=delete
on certain Kafka topics to prevent log retention issues.
Following that guidance, we attempted to update the cleanup policy using the following command:
D:\PEGA\CT5STREAM\Stream\kafka- Proprietary information hidden\bin\windows>kafka-topics.bat --zookeeper {IPAddressOfStreamNode}:2181 --topic __consumer_offsets --alter --config cleanup.policy=delete
We’re currently facing an issue where the Stream node is intermittently stopping in our environment. As part of our investigation, we referred to a https://support.pega.com/support-doc/kafka-fails-clean-compacted-topics-windows-server-2016? which suggests setting the cleanup.policy=delete
on certain Kafka topics to prevent log retention issues.
Following that guidance, we attempted to update the cleanup policy using the following command:
D:\PEGA\CT5STREAM\Stream\kafka- Proprietary information hidden\bin\windows>kafka-topics.bat --zookeeper {IPAddressOfStreamNode}:2181 --topic __consumer_offsets --alter --config cleanup.policy=delete
ERROR StatusLogger Reconfiguration failed: No configuration found for '21588809' at 'null' in 'null' Exception in thread "main" kafka.zookeeper.ZooKeeperClientTimeoutException: Timed out waiting for connection while in state: CONNECTING at kafka.zookeeper.ZooKeeperClient$$anonfun$kafka$zookeeper$ZooKeeperClient$$waitUntilConnected$1.apply$mcV$sp(ZooKeeperClient.scala:225) at kafka.zookeeper.ZooKeeperClient$$anonfun$kafka$zookeeper$ZooKeeperClient$$waitUntilConnected$1.apply(ZooKeeperClient.scala:221) at kafka.zookeeper.ZooKeeperClient$$anonfun$kafka$zookeeper$ZooKeeperClient$$waitUntilConnected$1.apply(ZooKeeperClient.scala:221) at kafka.utils.CoreUtils$.inLock(CoreUtils.scala:250) at kafka.zookeeper.ZooKeeperClient.kafka$zookeeper$ZooKeeperClient$$waitUntilConnected(ZooKeeperClient.scala:221) at kafka.zookeeper.ZooKeeperClient.<init>(ZooKeeperClient.scala:95) at kafka.zk.KafkaZkClient$.apply(KafkaZkClient.scala:1538) at kafka.admin.TopicCommand$.main(TopicCommand.scala:57) at kafka.admin.TopicCommand.main(TopicCommand.scala)
However, the command fails to execute properly. We suspect it may be due to connectivity issues with ZooKeeper, Has anyone successfully updated topic configurations in Pega-managed Kafka (especially internal topics like __consumer_offsets
)?
I tried this command while stream node is up and running.