quixio / quix-streams

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Timeseries messages not sent when flush called immediately after buffering.

harisbotic opened this issue · comments

If you try to send timeseries messages through a buffer and then immediately call the flush function, the messages that were most recently added to the buffer may not get sent.
However, if I sleep for even a 0.1 seconds before calling the flush function, all messages are sent as expected.

The same behaviour happens in both C# and python client.

Reproducible example in Benchmark kafka libraries repo

Merged.