MongoTools icon indicating copy to clipboard operation
MongoTools copied to clipboard

Running a simple pub/sub.

Open pmphnd opened this issue 10 years ago • 0 comments

Hi,

I tried to run a simple pub/sub example from your test package and it seems to me that subscriber is not reading msgs from test.mychannel properly. Publisher writes to test.mychannel, but then subscriber fails in oplog.tail (more specifically, msg = cursor.next() always raises StopIteration, despite the fact that mychannel has some data).

I am running MongoDB v2.6.3.

Any advice would be helpful. Thanks.

pmphnd avatar Dec 01 '14 13:12 pmphnd