I actually find the idea very interesting. For some time I was considering writing an LDAP back-end but never got the time to actually do it. If you intend to contribute it, it might make sense to raise a JIRA and attach it there.
I actually have hardly used zookeeper, so I have a few questions (bear with me if they are dumb). I guess one of the use case I have in mind is the following: you have several nodes, each of those is configured roughly with the same set of things, but you want to override some values for each node if needed. The question is, can zookeper be used to somehow share some data, or do you need to duplicate all the configurations. Another question: is there any tool that could help pushing some initial data into zookeeper ? On Tue, Jun 1, 2010 at 13:40, Leen Toelen <[email protected]> wrote: > Hi, > > I have created a proof of concept bridge between zookeeper and the > configurationadmin service, and allows for a centralized configuration > of an osgi system. If anyone is interested in giving it a try, please > go ahead. > > 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. > > Regards, > Leen > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > -- Cheers, Guillaume Nodet ------------------------ Blog: http://gnodet.blogspot.com/ ------------------------ Open Source SOA http://fusesource.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

