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

Subscription to a topic fails indefinitely after ZooKeeper connection loss #124

Closed
horkhe opened this issue Nov 15, 2017 · 0 comments
Closed
Labels

Comments

@horkhe
Copy link
Member

horkhe commented Nov 15, 2017

Following sequence of events was observed:

  1. The subscriber actor reported an error to subscribe to a new topic with error zk: could not connect to a server;
  2. More than a minute after the first error the second one appeared but this time it was zk: node does not exist;
  3. From that moment on error zk: node does not exist kept reappearing every 500ms;

My theory is that after the initial connection error it took the ZooKeeper client so long to re-establish the connection that our ephemeral registration node expired but the subscriber kept acting as if it existed. To fix this issue we need to make the subscriber handle the case of missing registration gracefully.

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

No branches or pull requests

1 participant