Skip to content

kanakb/pyhelix

Repository files navigation

pyhelix

Python bindings for Apache Helix

Install:

sudo easy_install pyhelix

OR

sudo pip install pyhelix

Start a participant:

# Imports
import pyhelix.participant as participant
import pyhelix.examples.dummy.dummy_statemodel as statemodel

# Define a participant
p = participant.Participant('test-cluster', 'myhost', 12120, 'zkhost:2181')

# Register a state model factory
p.register_state_model_fty('MasterSlave', statemodel.DummyStateModelFactory())

# Connect
p.connect()

# Disconnect
p.disconnect()

Build Status

About

Python participant and spectator for Apache Helix

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •