-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Setting receive.message.max.bytes (Protocol parse failure) #116
Comments
Can you reproduce this by consuming from that same offset again? |
I can. Though the expected bytes line seems to change (this time 18 bytes > 1 ) |
BTW, maybe in that error message you can write which partition + offset? |
Awesome, can you reproduce with |
Sent offline On Wednesday, May 14, 2014, Magnus Edenhill notifications@github.com
|
|
I didn't set either on the consumer, so must be default. Very possible On Wednesday, May 14, 2014, Magnus Edenhill notifications@github.com
|
I think that was it. Can you enhance to print the sizes as well as the On Wednesday, May 14, 2014, Dan Hoffman hoffmandan@gmail.com wrote:
|
I take it back, still happened On Wednesday, May 14, 2014, Dan Hoffman hoffmandan@gmail.com wrote:
|
1400078130.011 RDKAFKA-3-FAIL: rdkafka#consumer-0: 1400078130.011 RDKAFKA-3-ERROR: rdkafka#consumer-0: 1400078130.011 RDKAFKA-7-FETCH: rdkafka#consumer-0: On Wednesday, May 14, 2014, Dan Hoffman hoffmandan@gmail.com wrote:
|
Something is very weird. The max msg size on the broker is 10MB. I set On Wednesday, May 14, 2014, Dan Hoffman hoffmandan@gmail.com wrote:
|
|
receive.message.max.bytes should and could be figured out by librdkafka all by itself, but it doesnt, thats why it needs to be configured properly. If you dont want to do the math (because the numbre of partitions is dynamic or whatever reason), you can just set it to some large number, like 4 gigs. |
'receive.message .' Or 'fetch.message.'? On Wednesday, May 14, 2014, Magnus Edenhill notifications@github.com
|
You are right. Clarified previous comment. |
Ok. So set message and fetch.message to 10MB and receive to huge . Right? On Wednesday, May 14, 2014, Magnus Edenhill notifications@github.com
|
Yep! |
Let me know if this solves the problem |
It seems to be stable now. I had to put both max and fetch to be larger On Wednesday, May 14, 2014, Magnus Edenhill
|
I am hitting this issue. On all brokers message.max.bytes=1000000 On consumer 1527700852.798 RDKAFKA-7-BROKERFAIL: rdkafka#consumer-1: [thrd:ssl://knode1.scaletest.mgmt:8082/bootstrap]: ssl://knode1.scaletest.mgmt:8082/bootstrap: failed: err: Local: Bad message format: (errno: Success) |
@weekendyogi what librdkafka version? |
I took the latest from git hub.
I also tried 0.9.4
|
1400039259.017 RDKAFKA-4-PROTOERR: rdkafka#consumer-0: d146537-025.masked.com:5757/1052189117: Protocol parse failure at rd_kafka_messageset_handle:2637
1400039259.017 RDKAFKA-4-PROTOERR: rdkafka#consumer-0: d146537-025.masked.com:5757/1052189117: expected 18 bytes > 4 remaining bytes
The text was updated successfully, but these errors were encountered: