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

Fake Kafka client's reset! method working fine but producer's buffer not emptied at each message/s delivery #11

Open
enonnai opened this issue Jan 22, 2021 · 0 comments

Comments

@enonnai
Copy link

enonnai commented Jan 22, 2021

Fake Kafka client's reset! method working fine but producer's buffer not emptied at each message/s delivery

Hello all,

As mentioned in the title, I am using the 'reset!` method of the Kafe Kafka instance, though one still needs to set a new producer at every new test, as the producer's buffer is not cleared after message/s delivery.

Example:
A message gets delivered in test nr 1. Message count is 1.
For test nr 2, we have another message to deliver, but message count is 2 because the producer will deliver 1 message from test nr 2, PLUS the other message from test 1, as it lingers in the producer's buffer. And so on so forth.

Would be great to hear back from you on this one, thanks for the attention!

Cristina

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

No branches or pull requests

1 participant