-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
I produced 65536 messaged but got only hundred of them consumed #1034
Comments
Could you try to remove the #1032 reported seeing some inconsistencies on number of messages produced with config.Version added. Removing it seems to produce all messages. |
The sync producer uses the async producer under the hood, so this is not a relevant difference. It sounds a lot like the same issue to me, hopefully it is easy to fix but I have not had a lot of time recently to look into it. |
Marking this as a duplicate of #1032 since all the conversation is happening there. |
Versions
Sarama Version: 1.15.0
Kafka Version: 1.0.0
Go Version: 1.9.1
Configuration
What configuration values are you using for Sarama and Kafka?
for sarama:
for kafka, I removed config including zookeeper and broker id, listeners, log.dirs:
Logs
When filing an issue please provide logs from Sarama and Kafka if at all
possible. You can set
sarama.Logger
to alog.Logger
to capture Sarama debugoutput.
my test code
Problem Description
I used program like above to send messages to kafka, 65536 in total. but when I consumed from this topic, there are only hundreds messages, what's wrong ?
test procedure
and then use the official consumer tool to consume all messages:
yes, only 9 messages
and i check the consumer offset
The text was updated successfully, but these errors were encountered: