Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Won't Fix
-
0.8.2.0
-
None
-
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.