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

Consumer stream #695

Closed
wants to merge 23 commits into from
Closed

Consumer stream #695

wants to merge 23 commits into from

Conversation

lliss
Copy link

@lliss lliss commented Jun 27, 2017

Designed to solve #371, this change reimplements the processing of data as a stream in such a way that back pressure should not cause dropped messages. The change is designed to be fully backwards compatible.

@lliss
Copy link
Author

lliss commented Jun 29, 2017

@hyperlink Is it normal to see sporadic test failures? Locally and via travis, we're seeing intermittent issues with brokers not being available.

@hyperlink
Copy link
Collaborator

Thanks for the PR @lliss!

Could you add some documentation and examples on using the stream?

Regarding the tests I'm seeing the failures happen more often now that the tests run against different kafka versions though I haven't had a chance to investigate it.

@hyperlink
Copy link
Collaborator

@lliss if you rebase you'll find the tests to be more stable. I will look at this PR in more detail soon.

tizzo and others added 23 commits July 12, 2017 10:36
The commit stream is a writable stream that you can pipe events to and
it will commit them. This is useful so that you can pipe the
ConsumerStream through a transform stream and be completely confident
that the only way you will commit an offset is by successfully
processing the message.
…stream so that the messages consumed can be observed.
…rm stream mode if and when it is piped to another source and cleaning up the _trasnform logic.
@lliss lliss force-pushed the consumer-stream branch from 4ce851d to 3adc356 Compare July 12, 2017 14:36
@hyperlink hyperlink mentioned this pull request Aug 2, 2017
@hyperlink
Copy link
Collaborator

Thanks for your contribution. Closing this PR since this is continued in #732 any discussions can done in that PR.

@hyperlink hyperlink closed this Aug 2, 2017
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

Successfully merging this pull request may close these issues.

3 participants