Hi there, I wrote plugins before, but I'm not getting how to extend the 
discovery plugin. From the examples, it seems that once one extend 
ZenDiscoveryModule bind the proper discovery to its own discovery, add the 
proper UnicastHostProvider things should work. But I can't get my 
discoverymodule to load:

in the config I have:

discovery:
  type: custom

And:

CustomDiscoveryModule extends ZenDiscoveryModule
CustomDiscover extends ZenDiscover
CustomUnicastHostProvider implements UnicastHostsProvider

I have one plugin just to load the plugin, I tried to add the 
CustomDiscoveryModule on the modules list but I got an error saying binding 
for that interface had already happened.

My best guess is that when set the type of discovery, ES uses some form of 
naming convention to load the class, but this does not seems to be 
happening.

Any suggestions on where to look next?

Regards

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/18785746-17c7-4467-a904-753bb938fd77%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to