-
Notifications
You must be signed in to change notification settings - Fork 137
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
MockConsumer does not work #176
Comments
Oh very interesting. Should be a straight forward fix. Can you sub a PR for a failing test? |
@astubbs You mean PR with new test using mockconsumer which is failing? |
Yes, that shows the sort of use you're looking for. |
Question - do you need a MockConsumer specifically, or would a MockParallelConsumer also work? |
Ideally MockConsumer. In my case actual consumer implementation is controlled by flag (ramp etc). But if it is becoming complicated then separate MockParallelConsumer can also work. |
FYI just pushed #470 - this works fine as far as I can see, as expected. But using MockConsumer is difficult (because it's not a complete implementation). Use LongPollingMockConsumer instead. Let me know if you still have questions. |
Parallel Consumer wrapper does not work with MockConsumer. It keeps on skipping messages with error message
"Record in buffer for a partition no longer assigned. Dropping."
Above code works fine without
ParallelStreamProcessor
and done polling directly on consumer.The text was updated successfully, but these errors were encountered: