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

ConnectionManager infinite connect retries #30

Open
tekny opened this issue Nov 26, 2014 · 10 comments
Open

ConnectionManager infinite connect retries #30

tekny opened this issue Nov 26, 2014 · 10 comments

Comments

@tekny
Copy link

tekny commented Nov 26, 2014

In case server is offline, ConnectionManager will try to reconnect infinite times without emitting errors or any other notifying. Because of that in node-kafka which uses ConnectionManager it's impossible to handle connection errors. It also goes 100% CPU (I guess because of retries frequency) with node 10.30 OS X. It doesn't consume all the CPU on 10.33, but connection loss is still unmanageable.

Can we have those errors emitted or fixed retries count or something else.

@tekny tekny changed the title ConnectionManager infinite connection retries ConnectionManager infinite connect retries Nov 26, 2014
@AndrewKeig
Copy link

+1

@andrewlarkin
Copy link

+1 as well.

@omriiluz
Copy link

+1

@mwaarna
Copy link

mwaarna commented Mar 3, 2015

Bump!

@hufeng
Copy link

hufeng commented Apr 17, 2015

+1

hufeng pushed a commit to hufeng/node-zookeeper-client that referenced this issue Apr 17, 2015
@rraziel
Copy link

rraziel commented Aug 29, 2015

+1

@estliberitas
Copy link

@alexguan is too busy or not interested in resolution of this issue: #16

@respinha
Copy link

+1

2 similar comments
@cmaddalozzo
Copy link

+1

@yujianbohz
Copy link

+1

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