Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reading from Kafka didn't work #1176

Open
manhcv-st opened this issue May 11, 2023 · 1 comment
Open

Reading from Kafka didn't work #1176

manhcv-st opened this issue May 11, 2023 · 1 comment

Comments

@manhcv-st
Copy link

hi everyone,

I install gor v1.3.0, and using: gor --input-kafka-host '192.168.1.15:9092' --input-kafka-topic 'kafka-log' --output-stdout to store data to Apache Kafka.

I check the message of the topic in Kafka it exists and the setting advertised.listeners in server.properties at Kafka server.

I use: gor --input-kafka-host '192.168.1.15:9092' --input-kafka-topic 'kafka-log' --output-stdout to read data, but it doesn't work.

How to debug or fix it?

Thank everyone for reading.

@manhcv-st
Copy link
Author

I was able to read data from Kafka by running the write command to Kafka first and then running the read data command at the same time.
Before that, I was hoping that the read data command would read the previous data even without running the write command

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant