public void init() {
System.err.println("appName=" + appName);
process = new ListenerProcess(clusterManagerAddress, appName);
process.setDeserializer(new PassThroughDeserializer());
CommEventCallback callbackHandler = new CommEventCallback() {
@Override
public void handleCallback(Map<String, Object> event) {
if (event != null) {
CommLayerState state = (CommLayerState) event.get("state");
if (state != null) {