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

poll quietly fails when kafka server goes away and returns to service #7

Open
lancespeelmon opened this issue Feb 9, 2015 · 1 comment

Comments

@lancespeelmon
Copy link
Contributor

Steps to reproduce:

  1. Install and run kafka 0.8.2.
  2. Start a process that polls a topic for messages. If you display debug emitters, you should see a message kafka.on debug: no data - reentering poll every few seconds.
  3. Push some messages to topic and ensure the poller responds as expected.
  4. Stop and restart kafka.
  5. The poller goes quiet. No more kafka.on debug: no data - reentering poll messages and no indication that it will return from the spiral of death.
@lancespeelmon
Copy link
Contributor Author

FYI - here is some more info that might help debug this issue:

kafka.on debug: no data - reentering poll
socket end
socket close
socket end
socket close

I am hoping to either see it re-establish the connection and re-enter poll if possible. If not, then throwing an error or exiting would be a decent option as I have pm2 auto restarting the process.

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