bulldog2011 / bigqueue

A big, fast and persistent queue based on memory mapped file.
http://bulldog2011.github.com/bigqueue
Apache License 2.0
557 stars 219 forks source link

Messages produced by producer are not visible to consumer on other JVM. #27

Open krishnaprasadas opened 7 years ago

krishnaprasadas commented 7 years ago

Messages produced by producer are not visible to consumer on other JVM. In real-time consumer, when the producer from other JVM on same machine enqueues data, it is not visible to the live consumer. We need to restart /re-initialize the queue, by recreating the 'IBigQueue' instance.

Is it the expected behavior ? ie, we can only use BigQueue in single VM.

ddowling commented 7 years ago

Noticed the same behavior. Is this expected? Duplicate of https://github.com/bulldog2011/bigqueue/issues/5 . I am working on a forked fix for this at https://github.com/ddowling/bigqueue if anyone is interested in testing.