Re: test of producer's delay and consumer's delay

2016-06-18 Thread Kafka
To Christian Posta , I have taken into account the interpretation of time. my producer and consumer are deployed on the same machine, the machine’s configuration is very good, so it will not

Re: test of producer's delay and consumer's delay

2016-06-18 Thread Christian Posta
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

Re: test of producer's delay and consumer's delay

2016-06-18 Thread Kafka
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 写道: > >

Re: test of producer's delay and consumer's delay

2016-06-18 Thread Gwen Shapira
How did you measure consumer delay? On Sat, Jun 18, 2016 at 6:28 AM, Kafka wrote: > hello,I have done a series of tests on kafka 0.9.0,and one of the results > confused me. > > test enviroment: > kafka cluster: 3 brokers,8core cpu / 8g mem /1g netcard > client:4core

test of producer's delay and consumer's delay

2016-06-17 Thread Kafka
hello,I have done a series of tests on kafka 0.9.0,and one of the results confused me. test enviroment: kafka cluster: 3 brokers,8core cpu / 8g mem /1g netcard client:4core cpu/4g mem topic:6 partitions,2 replica total messages:1 singal message size:1024byte