From f19e897aa87183580cd86de46d5bff69741e3a97 Mon Sep 17 00:00:00 2001 From: Matteo Merli Date: Wed, 2 Oct 2019 20:58:15 -0700 Subject: [PATCH] Revert default topic type to non-partitioned --- conf/broker.conf | 2 +- .../java/org/apache/pulsar/broker/ServiceConfiguration.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/broker.conf b/conf/broker.conf index 1bc156407e359..db326b56607c9 100644 --- a/conf/broker.conf +++ b/conf/broker.conf @@ -89,7 +89,7 @@ ttlDurationDefaultInSeconds=0 allowAutoTopicCreation=true # The type of topic that is allowed to be automatically created.(partitioned/non-partitioned) -allowAutoTopicCreationType=partitioned +allowAutoTopicCreationType=non-partitioned # The number of partitioned topics that is allowed to be automatically created if allowAutoTopicCreationType is partitioned. defaultNumPartitions=1 diff --git a/pulsar-broker-common/src/main/java/org/apache/pulsar/broker/ServiceConfiguration.java b/pulsar-broker-common/src/main/java/org/apache/pulsar/broker/ServiceConfiguration.java index 45f486c951e24..d08fb10c3be38 100644 --- a/pulsar-broker-common/src/main/java/org/apache/pulsar/broker/ServiceConfiguration.java +++ b/pulsar-broker-common/src/main/java/org/apache/pulsar/broker/ServiceConfiguration.java @@ -905,7 +905,7 @@ public class ServiceConfiguration implements PulsarConfiguration { category = CATEGORY_STORAGE_ML, doc = "The type of topic that is allowed to be automatically created.(partitioned/non-partitioned)" ) - private String allowAutoTopicCreationType = "partitioned"; + private String allowAutoTopicCreationType = "non-partitioned"; @FieldContext( category = CATEGORY_STORAGE_ML, doc = "The number of partitioned topics that is allowed to be automatically created"