Using Juggernaut from Python You don't have to use Ruby to communicate with Juggernaut. In fact, all that is needed is a Redis adapter. Here we're using Python with redis-py. import redis import json msg = { "channels": ["channel1"], "data": "foo" } r = redis.Redis() r.publish("juggernaut", json.dumps(msg))

发表回复