Here is what I cannot wrap my head around --
The producer keeps publishing non-stop (1,000/sec in our case). The consumer keeps consuming. As observed via management UI, there is no queuing, consumer utilization is at 100%, no disk I/O, no flow control or blocked connections.
If there was some kind of pause in the broker (say, for 100 ms), wouldn't all messages from that point on be delayed? In our case only few out of 100,000 published have this latency, and only 100 have latency of about 20 ms. How can one message be delayed, and the message arriving after it not? Does this pattern (of some messages being delayed) suggest that the latency is introduced by the producer, or am I jumping to conclusion?
Would top plug-in help with understanding any latencies? If so, what would we be looking for? Thanks