Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-9300

Create a topic based on the specified brokers

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.3.0
    • None
    • clients
    • None

    Description

      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.

      Attachments

        Activity

          People

            doubleWei weiwei
            doubleWei weiwei
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 120h
                120h
                Remaining:
                Remaining Estimate - 120h
                120h
                Logged:
                Time Spent - Not Specified
                Not Specified