Intermittent errors producing to Redpanda using Sarama library #3069
-
Version & EnvironmentRedpanda version: (use Please also give versions of other components:
What went wrong?I created a local Redpanda instance using
I've tried essentially the same code with Franz-go and it seems to work just fine. Unfortunately, I can't easily switch to this as I'm trying to use Venom to write integration tests and the Kafka executor uses Sarama. What should have happened instead?The messages should always be produced to the Kafka topic without error How to reproduce the issue?To reproduce
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
Thanks for the detailed report @gary-lloyd. Even though you aren't able to switch away from Sarama, would you be able to bump up the version |
Beta Was this translation helpful? Give feedback.
-
@gary-lloyd - moving this into a discussion. |
Beta Was this translation helpful? Give feedback.
-
why is this not an issue? |
Beta Was this translation helpful? Give feedback.
-
fyi @senior7515 it looks like there isn't a clean way to convert the discussion back into an issue. there is a button, but it doesn't seem to preserve the discussion. |
Beta Was this translation helpful? Give feedback.
Thanks for the detailed report @gary-lloyd. Even though you aren't able to switch away from Sarama, would you be able to bump up the version
config.Version = sarama.V0_10_2_0
to something newer? Presumably that would then use a newer version of the Produce API. In either case, we should be able to fix this pretty quickly based on this reproducer. Legacy support is in Redpanda, but isn't nearly as well tested as newer version of the API.