Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

Refresh exhibitor list in more reliable way #37

Closed
antban opened this issue Aug 10, 2016 · 2 comments
Closed

Refresh exhibitor list in more reliable way #37

antban opened this issue Aug 10, 2016 · 2 comments
Assignees
Labels

Comments

@antban
Copy link
Contributor

antban commented Aug 10, 2016

Now if exhibitor list can't be refreshed, than AWSExhibitorAddressProvider will query data from master_exhibitors. But it's much better to query data from AWS to get new exhibitor list from lb name.

And of course it's better not to start kafka instances if there are no exhibitor instances.
Maybe it's better not to start kafka if exhibitor list is empty.

@rcillo
Copy link
Contributor

rcillo commented Aug 11, 2016

Why is this a good idea? I thought that one of the goals of exhibitor was to discover other zookeepers and coordinate them. I thought that it would be a reliable source of information.

@antban
Copy link
Contributor Author

antban commented Aug 12, 2016

@rcillo In this issue I am trying to reference exactly one situation: all the exhibitors are suddenly disappeared.
It means, that during normal work we are using zookeeper list provided by exhibitor API. But in case of catastrophic disaster (no exhibitor instances available) we need to use aws api to refresh exhibitor list, instead of trying to connect to outdated instances.

@adyach adyach closed this as completed Aug 12, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants