HighWaterMarkOffset()
behaves differently for mocks.Consumer
#2050
Labels
stale
Issues and pull requests without any recent activity
I encountered the same issue where
HighWaterMarkOffset()
returns0
if no messages have been consumed yet. I understand that there is no way to know theHighWaterMarkOffset
before the first message has been consumed. However, my problem was that I had tests in place that did not cover that case becausemocks.Consumer
always returns the "true"HighWaterMarkOffset
.I'd expect
mocks.Consumer
to also return0
if no message has been consumed yet. What do you think about that? Otherwise it might be helpful to have that case documented inHighWaterMarkOffset()
.The text was updated successfully, but these errors were encountered: