Closed fredrikwangberg closed 1 year ago
Hey @fredrikwangberg, this is likely due to a downgrade we had to perform on the underlying kafka client library: https://github.com/benthosdev/benthos/issues/2176, the default kafka protocol version would have reduced after the rollback we did. However, you should be able to explicitly force a newer kafka protocol version with: https://www.benthos.dev/docs/components/outputs/kafka#target_version
Alternatively, if you switch to the kafka_franz
output you might find it'll work better as it does version negotiation automatically: https://www.benthos.dev/docs/components/outputs/kafka_franz
Let me know if either of those solutions works.
Thank you for your quick reply and insights @Jeffail. That sounds reasonable.
I tried specifying kafka.target_version
to 2.8.1
and even 2.7.0
but it did not work; got same error. Not sure if I should have forced a version above 2.8.1... ?
But kafka_franz
worked out, so I am happy with this now. Again, thank you for your quick assistance 🙏
I can also reproduce the same problem with EventHubs or with a docker container running kafka 1.0.0. The input works fine, but we can't connect now to the output though, despite setting the proper target version. It connects if we're running the latest kafka docker image, though. Will investigate to find if we can solve it on benthos or if we need to do something on sarama.
Hi,
I have an issue where I fail to start a
4.23.0
benthos that uses thekafka
output, see error message below.The same configuration works in version
4.22.0
. For reference, the kafka cluster version is2.8.1
.This is output part of the benthos configuration:
I have tried splitting the
addresses
myself into a itemized list (a-
and newline for every broker), but with the same result. I do not know how to investigate this further, but I am keen to provide more details about the environment/deployment or to try out other ideas that potentially could generate more insights on why the error occurs.Fredrik