Kuan Po Tseng created KAFKA-20001:
-------------------------------------
Summary: Remove deprecated broker-side usage of num.partitions and
default.replication.factor for topic auto-creation in 5.0.0
Key: KAFKA-20001
URL: https://issues.apache.org/jira/browse/KAFKA-20001
Project: Kafka
Issue Type: Improvement
Components: config
Reporter: Kuan Po Tseng
Assignee: Kuan Po Tseng
Fix For: 5.0.0
KIP-1211 _“Align the behavior of num.partitions and default.replication.factor
for topic creation”_ deprecates the usage of {{num.partitions}} and
{{default.replication.factor}} in {{broker.properties}} for normal topic auto
creation. In the 4.x line, we kept backward compatibility by:
* Applying the broker-side values only when they are explicitly present in
{{broker.properties}} in {{DefaultAutoTopicCreationManager.}}
* Emitting warnings in {{KafkaConfig}} when these configs are set in the
broker role, indicating that they will be ignored starting in 5.0 and should be
moved to the controller role instead.
In 5.0 we should remove the broker-side usage and make {{num.partitions}} and
{{default.replication.factor}} effective only when specified in the controller
configuration, and remove the corresponding warning logs.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)