docs
docs copied to clipboard
Update the Zookeeper port on the Changefeed Examples page
Andrew Baptist (andrewbaptist) commented:
Page: https://cockroachlabs.com/docs/v23.1/changefeed-examples.html
What is the reason for your feedback?
[ ] Missing the information I need
[ ] Too complicated
[ X ] Out of date
[ ] Something is broken
[ ] Other
Additional details
In some places on the page it says to use --zookeeper localhost:2181 as the argument to creating kafka topics. This should instead say --bootstrap-server localhost:9092
I'm assuming the zookeeper arg worked in previous releases, but the the latest confluent (7.3.3) it does not.
Jira Issue: DOC-7468
Kathryn Hancox (kathancox) commented: Hi Andrew Baptist , is this something you tested and ran into issues? Looking through the Zookeeper and Confluent documentation, Zookeeper seems to listen on {{2181}} still for the latest release with Kafka servers listening on {{9092}}.
Kathryn Hancox (kathancox) commented: It seems like Confluent 7.3.3 might not necessarily use ZooKeeper for managing its Kafka clusters. In newer versions, Confluent encourage users to use Kafka for storing metadata instead of ZooKeeper. (https://docs.confluent.io/platform/current/security/zk-security.html )
If you are using an older version of Confluent Platform that still relies on ZooKeeper, the default port for ZooKeeper bootstrap servers is 2181.
So, I think the change here is to update the newer changefeed examples to the recommended workflow.