Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Jest should discover other ES nodes #2

Closed
otisg opened this issue Sep 27, 2012 · 1 comment
Closed

Jest should discover other ES nodes #2

otisg opened this issue Sep 27, 2012 · 1 comment

Comments

@otisg
Copy link

otisg commented Sep 27, 2012

Jest should ask ES nodes it knows about all other nodes so it can use them.

@ferhatsb
Copy link
Member

Hi Otis,

Please see commit.

Thanks to @CodeMomentum!

Here how to use;

//enable host discovery
clientConfig.getClientFeatures().put(ClientConstants.DISCOVERY_ENABLED, true);      //boolean
clientConfig.getClientFeatures().put(ClientConstants.DISCOVERY_FREQUENCY, 1l);      //long
clientConfig.getClientFeatures().put(ClientConstants.DISCOVERY_FREQUENCY_TIMEUNIT, TimeUnit.MINUTES); //timeunit

naorgu referenced this issue in logzio/Jest Jan 10, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants