Skip to content

Commit

Permalink
Add allowAutoTopicCreation to broker.conf and reference configuration. (
Browse files Browse the repository at this point in the history
  • Loading branch information
codelipenghui authored and merlimat committed Jul 9, 2019
1 parent b291272 commit a0ec11a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions conf/broker.conf
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,9 @@ backlogQuotaDefaultRetentionPolicy=producer_request_hold
# Default ttl for namespaces if ttl is not already configured at namespace policies. (disable default-ttl with value 0)
ttlDurationDefaultInSeconds=0

# Enable topic auto creation if new producer or consumer connected (disable auto creation with value false)
allowAutoTopicCreation=true

# Enable the deletion of inactive topics
brokerDeleteInactiveTopicsEnabled=true

Expand Down
1 change: 1 addition & 0 deletions site2/docs/reference-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ Pulsar brokers are responsible for handling incoming messages from producers, di
|backlogQuotaCheckEnabled| Enable backlog quota check. Enforces action on topic when the quota is reached |true|
|backlogQuotaCheckIntervalInSeconds| How often to check for topics that have reached the quota |60|
|backlogQuotaDefaultLimitGB| Default per-topic backlog quota limit |10|
|allowAutoTopicCreation| Enable topic auto creation if new producer or consumer connected |true|
|brokerDeleteInactiveTopicsEnabled| Enable the deletion of inactive topics |true|
|brokerDeleteInactiveTopicsFrequencySeconds| How often to check for inactive topics |60|
|messageExpiryCheckIntervalInMinutes| How frequently to proactively check and purge expired messages |5|
Expand Down

0 comments on commit a0ec11a

Please sign in to comment.