Skip to content

Instantly share code, notes, and snippets.

@ninowalker
Created August 12, 2014 04:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ninowalker/10708a553422e14de39c to your computer and use it in GitHub Desktop.
Save ninowalker/10708a553422e14de39c to your computer and use it in GitHub Desktop.
Stream Inspect
from lfcore.v2.fulfillment.stream.service import *
import time
m = MongoStreamSvc.instance()
for x in m.pubsub.find({'group': 'settings'}):
x
print "Looking in events..."
t = list(m.events.find({'group': 'settings'}))
t
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment