When the exporter is fully caught up, the lag reports as 1 instead of 0.
Topic highwaters are the offset where the next message will be written. Since the exporter is subtracting the most recently read message, this will result in a difference of 1.
We don't see this for the normal lag metric because consumer groups commit the offset they should begin reading from, similar to topics.
When the exporter is fully caught up, the lag reports as 1 instead of 0.
Topic highwaters are the offset where the next message will be written. Since the exporter is subtracting the most recently read message, this will result in a difference of 1.
We don't see this for the normal lag metric because consumer groups commit the offset they should begin reading from, similar to topics.