bfreuden commented on issue #1517:
URL: https://github.com/apache/helix/issues/1517#issuecomment-723653091
I had a look at the org.apache.helix.controller.HelixControllerMain and
spotted the ``addListenersToController`` static method having this body:
```java
manager.addControllerListener(controller);
manager.addInstanceConfigChangeListener(controller);
manager.addResourceConfigChangeListener(controller);
manager.addClusterfigChangeListener(controller);
manager.addLiveInstanceChangeListener(controller);
manager.addIdealStateChangeListener(controller);
```
But I have the impression it is never called in the main.
I wrote a little demo program that is only doing this:
```java
HelixManager manager = HelixManagerFactory.getZKHelixManager(CLUSTER_NAME,
"controller",
InstanceType.CONTROLLER,
ZK_ADDRESS);
manager.connect();
```
And it seems to be enough to operate my participants.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]