weiwei created KAFKA-9300: ----------------------------- Summary: Create a topci based on the specified brokers Key: KAFKA-9300 URL: https://issues.apache.org/jira/browse/KAFKA-9300 Project: Kafka Issue Type: New Feature Components: clients Affects Versions: 2.2.2 Reporter: weiwei Assignee: weiwei Fix For: 2.4.0
Generally, A Kafka cluster serves multiple businesses. To reduce the impact of businesses, many companies isolate brokers to physically isolate businesses. That is, the topics of certain businesses are created on the specified brokers. The current topic creation script supports only create topic according replica-assignment . This function is not convenient for the service to specify the brokers. Therefore, you need to add this function as follows: Create a topci based on the specified brokers. The replica-assignment-brokers parameter is added to indicate the broker range of the topic distribution. If this parameter is not set, all broker nodes in the cluster are used. For example, kafka-topics.sh --create --topic test06 --partitions 2 --replication-factor 1 --zookeeper zkurl -- --replica-assignment-brokers=1,2. -- This message was sent by Atlassian Jira (v8.3.4#803005)