rdhabalia opened a new issue #9644:
URL: https://github.com/apache/pulsar/issues/9644


   ### Goal
   PulsarService initializes `Local-ZooKeeper` and that is used by multiple 
components across pulsar-services. Remove local-zk access from dependent 
component and eventually remove local-zk initialization from the PulsarService.
   
   ### Reference
   **Component**: Pulsar-Service
   **Class-reference**: "- [PulsarServie:: 
localZkCacheService](https://github.com/apache/pulsar/blob/master/pulsar-broker/src/main/java/org/apache/pulsar/broker/PulsarService.java#L168),
 [PulsarServie:: 
localZooKeeperConnectionProvider](https://github.com/apache/pulsar/blob/master/pulsar-broker/src/main/java/org/apache/pulsar/broker/PulsarService.java#L173)
   **Affeceted Modules**: LoadManager: ModularLoadManagerImpl, 
NamespaceService, OwnershipCache, BookkeeperSchemaStorage
   
   
   ### Notes
   1. [PulsarServie:: 
localZkCacheService](https://github.com/apache/pulsar/blob/master/pulsar-broker/src/main/java/org/apache/pulsar/broker/PulsarService.java#L168),
 [PulsarServie:: 
localZooKeeperConnectionProvider](https://github.com/apache/pulsar/blob/master/pulsar-broker/src/main/java/org/apache/pulsar/broker/PulsarService.java#L173)
 initializes local zk and that is being used by multiple places eg: 
LoadManager: ModularLoadManagerImpl, NamespaceService, OwnershipCache, 
BookkeeperSchemaStorage
   2. Replace localZK access with Metadata-store resources in those places
   3. Remove localZK reference from the PulsarService


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to