[ https://issues.apache.org/jira/browse/FELIX-2384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Leen Toelen updated FELIX-2384: ------------------------------- Attachment: zookeeper-configadminbridge.zip Proof of concept zookeeper to configurationadmin bridge The managed service is created with this PID: "org.apache.zookeeper.configurationadminbridge" and needs the following properties - zookeeper.hostname - zookeeper.port - znode A ZooKeeper session is created on the given znode, and every znode child is treated as a key-value pair which is synced with the configurationadmin, much like fileinstall does. When a pid contains '-', it is treated as a factory config. Zookeeper structure: /com/worlddomination/ -> znode - myservicepid -> child service pid, with child znodes - property1: value - property2: value - myfactoryservicepid-test -> factory child service pid, with child znodes - property1: value - property2: value The synchronization is one-way so every zookeeper change is pushed to configurationadmin, but changes to configurationadmin directly are ignored. > ZooKeeper ConfigurationAdmin bridge > ----------------------------------- > > Key: FELIX-2384 > URL: https://issues.apache.org/jira/browse/FELIX-2384 > Project: Felix > Issue Type: Wish > Components: Configuration Admin, File Install > Reporter: Leen Toelen > Priority: Minor > Attachments: zookeeper-configadminbridge.zip > > > Apache zookeeper is very well suited for centralized configuratio management. > A bridge between zookeeper and configurationadmin would be very convenient > for users of zookeeper and osgi. The attached code is a very simple proof of > concept of a managed service that fetches configuration data from zookeeper > and submits them to configurationadmin. Changes are instantly updated as well. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.