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

Make initZk a protected function

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • 0.8.2.0
    • None
    • core
    • None

    Description

      In our environment, we have established an external procedure to notify clients of changes in the zookeeper cluster configuration, especially appearance and disappearance of nodes. it has also become quite common to run Kafka as an embedded service (especially in tests).

      When doing so, it would makes things easier if it were possible to manipulate the creation of the zookeeper client to supply Kafka with a specialized ZooKeeper client that is adjusted to our needs but of course API compatible with the ZkClient.

      Therefore, I would like to propose to make the initZk method protected so we will be able to simply override it for client creation.

      Attachments

        1. make-initzk-protected
          0.7 kB
          Christian Kampka

        Activity

          People

            Unassigned Unassigned
            chris| Christian Kampka
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: