Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yogeshnikam671/kafkaproducerbasics
https://github.com/yogeshnikam671/kafkaproducerbasics
Last synced: about 14 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/yogeshnikam671/kafkaproducerbasics
- Owner: yogeshnikam671
- Created: 2022-03-22T07:12:45.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T08:13:43.000Z (about 2 years ago)
- Last Synced: 2024-12-01T02:09:27.299Z (about 2 months ago)
- Language: Java
- Size: 201 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Prerequisite -
You have to download the confluent 6.2.1 from the website.
And set the KAFKA_HOME env variable getting used in script to the path where you
have downloaded the confluent 6.2.1. e.g in my machine it is set as
(~/Downloads/confluent-6.2.1).Kafka broker debugging notes :
1. When you want to produce or consume the messages using
kafka-console-producer or consumer, the bootstrap-server that you should be
specifying should not be localhost:9092 but the IP in the logs of
kafka-server-start command and append 9092 to it.
e.g. 192.168.1.3:9092
2. While terminating the kafka-brokers. First terminate the sessions of all the
kafka-brokers and then zookeeper. Doing the other way around won't
shut down the kafka-brokers.
3. The script consumer-start.sh if it does not work, modify the script
by replacing localhost:9092 with the one found in any of the kafka-server-start
logs.