You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. JMX_PORT=8004 bin/kafka-server-start.sh config/server.properties ---> to start kafka
2. bin/zookeeper-server-start.sh config/zookeeper.properties ---> to start zookeeper
3. bin/cmak -Dconfig.file=conf/application.conf -Dhttp.port=9000 ----> to start kafka manager(gui)
Commands needs to be executed to run services inside container
1. docker-compose up -d ----> for background mode
2. docker-compose up ----> for foreground mode
To get inside container
1. docker exec -it kafka bash or sh
2. navigate to /opt/kafka_2.12-2.3.0/bin/
3. kafka-topics.sh --list --zookeeper zookeeper:2181 ---> list of topics available
Output:
__consumer_offsets
mariadb-events
Command to see the messages which are published to topic