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

Curl example should use unbuffered connection #40

Open
PetrGlad opened this issue Nov 15, 2016 · 0 comments
Open

Curl example should use unbuffered connection #40

PetrGlad opened this issue Nov 15, 2016 · 0 comments

Comments

@PetrGlad
Copy link

page docs/using/consuming-events.html should use unbuffered curl connection:

curl -N -v http://localhost:8080/event-types/order_received/events

Or, alternatively --no-buffer instead of -N. Without it, latest messages might not be shown until buffer is full. This is especially acute problem with infrequent events.
To be precise, you will see every batch eventually, since Nakadi sends keepalive messages. Once your buffer is filled with those keepalive messages you'll see all real batches. I still hope that this is not intended to be a user's patience test.

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

1 participant