Hi,

Recently, Jason and I hacked together an ultra-lightweight Helix participant in 
Python. It still needs some work on performance and dealing with failure cases, 
but it works.

Here's the source code: https://github.com/kanakb/pyhelix

This starts a dummy participant:

    from pyhelix import participant
    from pyhelix import statemodel
    p = participant.Participant('test-cluster', 'myhost', 12120, 'zkhost:2181')
    p.register_state_model_fty('MasterSlave', 
statemodel.MockStateModelFactory())
    p.connect()

Feel free to try it out and send any comments/suggestions you have. Also, feel 
free to extend it!

Kanak                                     

Reply via email to