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

Refactor/cleanup BrokerNode/ControllerNode/ClusterConfig

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.8.0
    • None
    • None

    Description

      origin discussion: https://github.com/apache/kafka/pull/15715#discussion_r1564660916

      It seems to me this jira should address following tasks.

      1. make them immutable. We have adopted the builder pattern, so all changes should be completed in the builder phase

      2. make all `Builder#build()` not accept any arguments. Instead, we should add new setters for those arguments.

      Attachments

        Issue Links

          Activity

            People

              brandboat Kuan Po Tseng
              chia7712 Chia-Ping Tsai
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: