So this is a crappy way to test. I think either you should test based on what the broker sees or you should test based on what the consumer or producer sees. Testing across machines with differnt interpretation of time isn't a good method.
On Saturday, June 18, 2016, Kafka <kafka...@126.com> wrote: > I send every message with timestamp, and when I receive a message,I do a > subtraction between current timestamp and message’s timestamp. then I get > the consumer’s delay. > > > 在 2016年6月18日,上午11:28,Kafka <kafka...@126.com <javascript:;>> 写道: > > > > > > > -- *Christian Posta* twitter: @christianposta http://www.christianposta.com/blog http://fabric8.io