David Bosschaert commented on ZOOKEEPER-584:

For the moment I put the bundle that runs the zookeeper server in the CXF-DOSGi 
codebase (because I'm using the functionality there).
It can configure (through the OSGi Configuration Admin Service) and run 
Zookeeper Server. 
Reconfiguration is also supported (just change the configuration information on 
the PID: org.apache.cxf.dosgi.discovery.zookeeper.server and the 
reconfiguration is applied by shutting down and starting up the zookeeper 
server in-process.

You can find it here: 

Let me know when you think the zookeeper codebase is ready for this. It works 
for me, but I understand that the general feeling is that some changes need to 
be made to the zookeeper core before something like this can be accepted.
I'd be happy to contribute this to zookeeper if you like to have it.

> ZooKeeper service instance should be registered in the OSGi registry
> --------------------------------------------------------------------
>                 Key: ZOOKEEPER-584
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-584
>             Project: Zookeeper
>          Issue Type: New Feature
>          Components: server
>            Reporter: Alan Cabrera
> When Zookeeper is booted in an OSGi framework by {{ManagedService}} it would 
> be quite handy to have {{ManagedService}} register a management interface for 
> that ZooKeeper instance into the OSGi service registry.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

Reply via email to