How can the backlog of a remote function in Flink Statefun be negative?
On a pipeline I'm currently working on, I see this behaviour regularly when the cluster is under stress and some functions are under backpressure. Then the metrics for the backlog sometimes become negative and stay there. The following chart shows this phenomenon.
According to the docs the metric numBacklog is the "The number of pending messages to be sent".
I just don't understand how this can be negative. Does anyone know?