rohit
June 23, 2020, 10:04am
1
I’ve sentry V10 onpremise installed and running in virtualenv. upon sending an event sentry worker produces following logs
sentry-worker %3|1592905737.833|PROTOUFLOW|rdkafka#producer-1| [thrd:ip:9092/8]: ip:9092/8: Protocol read buffer underflow at 30/30 (rd_kafka_handle_Produce_parse:1751): expected 4 bytes > 0 remaining bytes (incorrect broker.version.fallback?)
This is the kafka related package i have installed
confluent-kafka==0.11.5
librdkafka-dev=0.11.3-1
kafka=2.13-2.5.0
BYK
June 23, 2020, 5:42pm
2
Quick googling of the error message reveals this: https://github.com/edenhill/librdkafka/issues/1660 which leads to https://github.com/edenhill/librdkafka/blob/9a014e90a860df92405b32808faecea4cac0664d/INTRODUCTION.md#broker-version-compatibility
I think that’s your problem.
Also please note that we do not recommend using Sentry 10+ without Docker and our official setup.
rohit
June 24, 2020, 6:02am
3
thansk @BYK , i did looked at the link pointed by you but couldn’t figured out what exactly to fix and where. Can you please pinpoint what should be fixing ?
BYK
June 27, 2020, 10:01am
4
I think you need to set api.version.request=false
for this to work.