-
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
kafka: Failed to deliver 1 messages. #802
Comments
The error that is returned from |
Thank you @eapache
I range
I print msgs payload: 1985343, in server.properties: socket.request.max.bytes=104857600. May sarama will cover server.properties config, if the topic is created by sarama? server.properties:
|
|
Versions
Please specify real version numbers or git SHAs, not just "Latest" since that changes fairly regularly.
Sarama Version: 353cc46
Kafka Version: 0.8.2
Go Version: go1.7.3 linux/amd64
Configuration
What configuration values are you using for Sarama and Kafka?
Sarama config:
Procuder config:
kafka producer config:
Logs
[sarama] 2016/12/22 10:37:44 producer/broker/1 state change to [open] on collector-test/2
[sarama] 2016/12/22 10:37:44 ClientID is the default of 'sarama', you should consider setting it to something application-specific.
[sarama] 2016/12/22 10:37:44 producer/broker/2 starting up
[sarama] 2016/12/22 10:37:44 producer/broker/2 state change to [open] on collector-test/0
[sarama] 2016/12/22 10:37:44 ClientID is the default of 'sarama', you should consider setting it to something application-specific.
[sarama] 2016/12/22 10:37:44 producer/broker/0 starting up
[sarama] 2016/12/22 10:37:44 producer/broker/0 state change to [open] on collector-test/1
[sarama] 2016/12/22 10:37:44 Connected to broker at sz-pg-dc-smalldisk-011:9092 (registered as #1)
[sarama] 2016/12/22 10:37:44 Connected to broker at sz-pg-dc-smalldisk-012:9092 (registered as #2)
[sarama] 2016/12/22 10:37:44 Connected to broker at sz-pg-dc-smalldisk-010:9092 (registered as #0)
Problem Description
I use SyncProducer, call SendMessages to write kafka, then check error, got error kafka: Failed to deliver 1 messages. The messages array length is bigger than zero.
The text was updated successfully, but these errors were encountered: