Open seruman opened 3 years ago
Interesting. Will the latest offset ever reset on its own (perhaps after 2 intervals?) or does it remain in this state indefinitely?
It stays in that state. Previous logs I've shared only had a single poll before shutting the exporter down. It still reports old state even after multiple intervals;
Lately we experienced this again, it was still reporting the old latest offset even after an hour the topic recreated;
Hi @seglo, Since there were new releases, I tried to re-produce the issue with the 0.7.1 and I can confirm it is still re-producable even after multiple poll intervals.
Describe the bug If a topic is deleted then re-created within poll interval, exporter reports
kafka_partition_latest_offset
as the value before deletion. This also causes lag metrics to be wrong since they're derived from it.To Reproduce Logs: https://gist.github.com/seruman/6f9a6718e29760af41683a4b45bd5ef2 Config:
my-topic
my-group
Environment
Additional context![screencapture-localhost-19090-graph-2021-03-03-15_59_45](https://user-images.githubusercontent.com/7118751/109810899-34761280-7c3b-11eb-8af7-1f0ee01cf2dd.png)