Revert "Use external Zookeeper in Local mode"

This reverts commit d156980a52.

Change-Id: I8a0bbf34db9d25503e50d4ef9d9da466f229fc78
This commit is contained in:
Martin Chacon Piza 2021-05-27 16:14:12 +02:00
parent d156980a52
commit 37ccf62158
1 changed files with 1 additions and 4 deletions

View File

@ -102,10 +102,7 @@ public class ThresholdingEngine {
if (local) {
logger.info("submitting topology {} to local storm cluster", topologyName);
new LocalCluster(
System.getenv("ZOOKEEPER_SERVERS"),
new Long(System.getenv("ZOOKEEPER_PORT"))
).submitTopology(topologyName, config, topology);
new LocalCluster().submitTopology(topologyName, config, topology);
} else {
logger.info("submitting topology {} to non-local storm cluster", topologyName);
StormSubmitter.submitTopology(topologyName, config, topology);