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

[TSK] Correctly handle failure to connect to bootstrap server #52

Open
alistairking opened this issue Oct 5, 2018 · 1 comment
Open

Comments

@alistairking
Copy link
Member

I'm not sure how to do this, but currently if one of the bootstrap servers are unavailable when starting up, libtimeseries will get stuck with errors like:

[10:35:54:483] kafka_connect: WARN: Failed to connect to Kafka. Retrying in 80 seconds
[10:35:54:575] kafka_error_callback: ERROR: Local: Broker transport failure (-195): riddler.caida.org:9092/bootstrap: Connect to ipv4#198.202.104.117:9092 failed: Connection refused
[10:35:54:575] kafka_connect: WARN: Failed to connect to Kafka. Retrying in 80 seconds
[10:35:54:601] kafka_error_callback: ERROR: Local: Broker transport failure (-195): penguin.caida.org:9092/bootstrap: Connect to ipv4#198.202.104.116:9092 failed: Connection refused
[10:35:54:601] kafka_connect: WARN: Failed to connect to Kafka. Retrying in 80 seconds
[10:35:54:757] kafka_error_callback: ERROR: Local: Broker transport failure (-195): penguin.caida.org:9092/bootstrap: Connect to ipv4#198.202.104.116:9092 failed: Connection refused
[10:35:54:757] kafka_error_callback: ERROR: Local: Broker transport failure (-195): riddler.caida.org:9092/bootstrap: Connect to ipv4#198.202.104.117:9092 failed: Connection refused
[10:35:54:757] kafka_connect: WARN: Failed to connect to Kafka. Retrying in 80 seconds
@alistairking
Copy link
Member Author

It should only be a fatal error if all bootstrap servers are unreachable

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