if (!sepModel.hasSubscription(subscriptionName)) {
sepModel.addSubscriptionSilent(subscriptionName);
}
PayloadExtractor payloadExtractor = new BasePayloadExtractor(Bytes.toBytes("sep-user-demo"), Bytes.toBytes("info"),
Bytes.toBytes("payload"));
SepConsumer sepConsumer = new SepConsumer(subscriptionName, 0, new EventLogger(), 1, "localhost", zk, conf,
payloadExtractor);