Closed gm42 closed 1 year ago
Newest Sarama version still suffers from the same problem.
Thank you for taking the time to raise this issue. However, it has not had any activity on it in the past 90 days and will be closed in 30 days if no updates occur. Please check if the master branch has already resolved the issue since it was raised. If you believe the issue is still valid and you would like input from the maintainers then please comment to ask for it to be reviewed.
Unless I'm misunderstanding the description, this shouldn't be a problem on recent versions of Sarama. Please re-open if it is
Versions
Configuration
What configuration values are you using for Sarama and Kafka?
Problem Description
Forgive me the slightly old
sarama
version; I am having issues to create a test likeTestSyncProducer
that would also test for message headers functionality usage.My test is a copy of
TestSyncProducer
with the above configuration added&used here: https://github.com/Shopify/sarama/blob/v1.21.0/sync_producer_test.go#L24v0.11+ is necessary for the headers, however when specifying it the mock broker will not work (I assume because of the version requirement).
Is there a way to make the mock broker satisfy the requirement? Shall we add some test to
sarama
to cover this use-case?