Skip to content
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

Can't use sendAwait with Kafka's MockProducer #172

Open
felixkrull-neuland opened this issue Jan 15, 2024 · 1 comment
Open

Can't use sendAwait with Kafka's MockProducer #172

felixkrull-neuland opened this issue Jan 15, 2024 · 1 comment

Comments

@felixkrull-neuland
Copy link

sendAwait is defined directly on KafkaProducer. This makes it impossible to use with Kafka's own MockProducer. The method should be defined on the Producer interface instead.

@nomisRev
Copy link
Owner

Hey @felixkrull-neuland,

Thank you for opening this ticket, an alternative implementation has been written for producing elements that will be released soon. It is defined on top of Producer so it should fix this issue, but I will keep this open until I've released that in a next version.

You can check out the API, and implementation here.
Any feedback would be greatly appreciated, #156

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants