It is kind of not clear what to do if flush() timed out. Can we call it again to wait more?
OR after timeout things go to incorrect state and we have nothing to do other than accept that some messages might be lost?
I understood that in other cases eg poll() we can retry that again. But for flush() it is not obvious (for me at least) can we follow the same logic or not...
Would be nice to see some instructions what to do in such case in the flush() doc page.
It is kind of not clear what to do if flush() timed out. Can we call it again to wait more?
OR after timeout things go to incorrect state and we have nothing to do other than accept that some messages might be lost?
I understood that in other cases eg poll() we can retry that again. But for flush() it is not obvious (for me at least) can we follow the same logic or not...
Would be nice to see some instructions what to do in such case in the flush() doc page.