Created
August 12, 2014 04:30
-
-
Save ninowalker/10708a553422e14de39c to your computer and use it in GitHub Desktop.
Stream Inspect
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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