diff --git a/docs/configuration/index.md b/docs/configuration/index.md index 328ab3508251..bbb43ec67b2b 100644 --- a/docs/configuration/index.md +++ b/docs/configuration/index.md @@ -794,7 +794,7 @@ If you want to turn off the batch data segment announcer, you can add a property |Property|Description|Default| |--------|-----------|-------| -|`druid.announcer.skipSegmentAnnouncementOnZk`|Skip announcing segments to ZooKeeper. Note that the batch server view will not work if this is set to true.|false| +|`druid.announcer.skipSegmentAnnouncementOnZk`|Skip announcing segments to ZooKeeper. Note that the batch server view will not work if this is set to true.|true| ### JavaScript diff --git a/server/src/main/java/org/apache/druid/server/initialization/BatchDataSegmentAnnouncerConfig.java b/server/src/main/java/org/apache/druid/server/initialization/BatchDataSegmentAnnouncerConfig.java index 66ac575d41de..39978fad8a12 100644 --- a/server/src/main/java/org/apache/druid/server/initialization/BatchDataSegmentAnnouncerConfig.java +++ b/server/src/main/java/org/apache/druid/server/initialization/BatchDataSegmentAnnouncerConfig.java @@ -46,7 +46,7 @@ public class BatchDataSegmentAnnouncerConfig private boolean skipDimensionsAndMetrics = false; @JsonProperty - private boolean skipSegmentAnnouncementOnZk = false; + private boolean skipSegmentAnnouncementOnZk = true; public int getSegmentsPerNode() {