quixio / quix-streams

Quix Streams - A library for data streaming and Python Stream Processing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Raw Topic Producer to guarantee last message sent

peter-quix opened this issue · comments

Tell us about the bug
Raw topic producer does not expose flush() and close does not guarantee the last message to be sent.

What did you expect to see?
Flush() available and last message guaranteed to be sent.

What version of the library are you using?
Examples: 0.5.4 or if using source, the commit

Workaround?
arbitary sleep with some convoluted logic before closing producer.