Hi,

I was using HelixManagerFactory to create instances from InstanceType enum.
I found that the HelixManagerFactory fails because I do not have a cluster
created before using the API. I do see from examples that I need to create
ZKHelixManager and register instances, state machine etc.

So one question is when do I use HelixManagerFactory and when do I go
straight to the underlying ZKHelixManager? Also I imagine I should not be
referencing/using both classes HelixManagerFactory and ZKHelixManager in my
codebase it appears like two instances of ZKHelixManager are created. The
API does not seem to safeguard that because both are public APIs.

Also does the HelixManagerFactory indicate that in future there could be
other alternatives to HelixManager other than zookeeper?

Thanks,

Sandeep

Reply via email to