Re: kafka-producer-perf-test.sh transaction support?

2024-07-29 Thread Kuan Po Tseng
with the binaries. When I am trying to enable > > transaction in the producer script it runs into errors. For example: > > > > # bin/kafka-producer-perf-test.sh --topic testtopic1 --num-records 1 > > --throughput -1 --record-size 256 --producer-props > > bo

Re: kafka-producer-perf-test.sh maximum throughput limits for broker on single node

2023-02-24 Thread Luke Chen
rs. > > I test max throughput to a single kafka broker but results do not match > speed limits disk or network. > > /kafka-producer-perf-test.sh --topic perf-test --num-records 3000 > --record-size 100 --throughput -1 --producer-props > bootstrap.servers=localhost:9092 &g

kafka-producer-perf-test.sh maximum throughput limits for broker on single node

2023-02-23 Thread Tomasz Sąciński
Hello users. I test max throughput to a single kafka broker but results do not match speed limits disk or network. /kafka-producer-perf-test.sh --topic perf-test --num-records 3000 --record-size 100 --throughput -1 --producer-props bootstrap.servers=localhost:9092 3000 records sent

Re: kafka-producer-perf-test.sh transaction support?

2019-10-18 Thread Anindya Haldar
t; test perf scripts that ship with the binaries. When I am trying to enable > transaction in the producer script it runs into errors. For example: > > # bin/kafka-producer-perf-test.sh --topic testtopic1 --num-records 1 > --throughput -1 --record-size 256 --producer-props > b

kafka-producer-perf-test.sh transaction support?

2019-10-17 Thread Anindya Haldar
I am trying to test a 3 node Kafka cluster using the producer and consumer test perf scripts that ship with the binaries. When I am trying to enable transaction in the producer script it runs into errors. For example: # bin/kafka-producer-perf-test.sh --topic testtopic1 --num-records 1

Re: Errors observed in performance test using kafka-producer-perf-test.sh|

2018-05-31 Thread Localhost shell
I have another very disturbing observation. The errors go away if I start 2 kafka-producer-perf-test.sh with the same configs on different hosts. If I cancel 1 kafka-producer-perf-test.sh then after some time the below errors start reappearing. org.apache.kafka.common.errors.TimeoutException

Errors observed in performance test using kafka-producer-perf-test.sh|

2018-05-30 Thread Localhost shell
-producer-perf-test.sh --topic benchmark-6p-3r-2isr-none --num-records 1000 --record-size 100 --throughput -1 --print-metrics --producer-props acks=all bootstrap.servers=node1:9092,node2:9092,node3:9092 request.timeout.ms=18 max.block.ms=18 buffer.memory=1 > ~/kafka/load_test/results

Re: kafka-producer-perf-test.sh - 0.8.2.1

2016-01-11 Thread Andrej Vladimirovich
u...@gmail.com> > >> wrote: > >> > >> > Thanks Ewen. Do you know if kafka-run-class.sh > >> > org.apache.kafka.clients.tools.ProducerPerformance > >> > is single threaded? Or is there any way to specify number of threads? > >> > > &g

Re: kafka-producer-perf-test.sh - 0.8.2.1

2016-01-11 Thread Jay Kreps
roducerPerformance >> > is single threaded? Or is there any way to specify number of threads? >> > >> > On Fri, Jan 8, 2016 at 1:24 PM, Ewen Cheslack-Postava > > >> > wrote: >> > >> > > Ah, sorry, I missed the version number in your tit

Re: kafka-producer-perf-test.sh - 0.8.2.1

2016-01-11 Thread Andrej Vladimirovich
gt; > > Ah, sorry, I missed the version number in your title. I think this tool > > saw > > > some rearrangement in 0.9.0 and I was looking at the latest version. > > > Unfortunately it doesn't look like the old > > kafka.tools.ProducerPerformance > > > tha

Re: kafka-producer-perf-test.sh - 0.8.2.1

2016-01-08 Thread Ewen Cheslack-Postava
0 and I was looking at the latest version. > > Unfortunately it doesn't look like the old > kafka.tools.ProducerPerformance > > that is used in kafka-producer-perf-test.sh in 0.8.2.1 supports passing > in > > additional properties. > > > > -Ewen > > > &g

Re: kafka-producer-perf-test.sh - 0.8.2.1

2016-01-08 Thread Andrej Vladimirovich
ink this tool saw > some rearrangement in 0.9.0 and I was looking at the latest version. > Unfortunately it doesn't look like the old kafka.tools.ProducerPerformance > that is used in kafka-producer-perf-test.sh in 0.8.2.1 supports passing in > additional properties. > > -Ewen &g

Re: kafka-producer-perf-test.sh - 0.8.2.1

2016-01-08 Thread Ewen Cheslack-Postava
Ah, sorry, I missed the version number in your title. I think this tool saw some rearrangement in 0.9.0 and I was looking at the latest version. Unfortunately it doesn't look like the old kafka.tools.ProducerPerformance that is used in kafka-producer-perf-test.sh in 0.8.2.1 supports passi

Re: kafka-producer-perf-test.sh - 0.8.2.1

2016-01-08 Thread Andrej Vladimirovich
Ewen, I tried that before like this: ./kafka-producer-perf-test.sh --broker-list test:9092 --topics test8-3 --messages 200 --new-producer --message-size 200 --show-detailed-stats max.request.size=1000 and it does not work. It comletly ignore this option. And --producer-props is not

Re: kafka-producer-perf-test.sh - 0.8.2.1

2016-01-08 Thread Ewen Cheslack-Postava
Andrew, kafka-producer-perf-test.sh is just a wrapper around orga.apache.kafka.clients.tools.ProducerPerformance and all command line options should be forwarded. Can you just pass a --producer-props to set max.request.size to a larger value? -Ewen On Fri, Jan 8, 2016 at 7:51 AM, Andrej

kafka-producer-perf-test.sh - 0.8.2.1

2016-01-08 Thread Andrej Vladimirovich
Hi! I am testing Kafka's performance with large messages and would like to specify maximum request size when I run kafka-producer-perf-test.sh: ./kafka-producer-perf-test.sh --broker-list "test1:9092" --topics test8-3 --messages 100 --new-producer --msage-size 110 --show

Re: kafka producer-perf-test.sh compression-codec not working

2015-08-25 Thread Prabhjot Bharaj
t;, " > d...@kafka.apache.org<mailto:d...@kafka.apache.org>" <mailto:d...@kafka.apache.org>> > Subject: Re: kafka producer-perf-test.sh compression-codec not working > > Hi Erik, > > Thanks for your inputs. > > How can we measure round trip latenc

Re: kafka producer-perf-test.sh compression-codec not working

2015-08-25 Thread Helleren, Erik
ers@kafka.apache.org>" mailto:users@kafka.apache.org>>, "d...@kafka.apache.org<mailto:d...@kafka.apache.org>" mailto:d...@kafka.apache.org>> Subject: Re: kafka producer-perf-test.sh compression-codec not working Hi Erik, Thanks for your inputs. How can we meas

Re: kafka producer-perf-test.sh compression-codec not working

2015-08-25 Thread Prabhjot Bharaj
Hi Erik, Thanks for your inputs. How can we measure round trip latency using kafka-producer-perf-test.sh ? or any other tool ? Regards, Prabhjot On Tue, Aug 25, 2015 at 7:41 PM, Helleren, Erik wrote: > Prabhjot, > When no compression is being used, it should have only a tiny imp

Re: kafka producer-perf-test.sh compression-codec not working

2015-08-25 Thread Helleren, Erik
, "d...@kafka.apache.org<mailto:d...@kafka.apache.org>" mailto:d...@kafka.apache.org>> Subject: Re: kafka producer-perf-test.sh compression-codec not working Hi Erik, I have put my efforts on the produce side till now, Thanks for making me aware that consumer will decompress a

Re: kafka producer-perf-test.sh compression-codec not working

2015-08-25 Thread Prabhjot Bharaj
> goal is for each message to be unique, but still have similar chunks that > a compression algorithm can detect and compress. > > -Erik > > > On 8/25/15, 6:47 AM, "Prabhjot Bharaj" wrote: > > >Hi, > > > >I have bene trying to use kafka-producer-

Re: kafka producer-perf-test.sh compression-codec not working

2015-08-25 Thread Helleren, Erik
your choice. The goal is for each message to be unique, but still have similar chunks that a compression algorithm can detect and compress. -Erik On 8/25/15, 6:47 AM, "Prabhjot Bharaj" wrote: >Hi, > >I have bene trying to use kafka-producer-perf-test.sh to arrive at cert

kafka producer-perf-test.sh compression-codec not working

2015-08-25 Thread Prabhjot Bharaj
Hi, I have bene trying to use kafka-producer-perf-test.sh to arrive at certain benchmarks. When I try to run it with --compression-codec values of 1, 2 and 3, I notice increased throughput compared to NoCompressionCodec But, When I checked the Producerperformance.scala, I saw that the the

Re: kafka-producer-perf-test.sh - No visible difference between request-num-acks 1 and -1

2015-08-21 Thread Tao Feng
2 Leader: 1 Replicas: 1,3,4 Isr: 4,1,3 > > Topic: tops1 Partition: 3 Leader: 2 Replicas: 2,4,5 Isr: 4,2,5 > > > This is the output of the kafka-producer-perf-test.sh for request-num-acks > 1 and request-num-acks -1:- > > root@x.x.x.x:~# date;time kafka-producer-perf-test.s

Re: SocketTimeoutException with kafka-producer-perf-test.sh

2015-08-21 Thread Prabhjot Bharaj
Isr: 4,1,2 >> >> Topic: tops1 Partition: 1 Leader: 5 Replicas: 5,2,3 Isr: 5,3,2 >> >> Topic: tops1 Partition: 2 Leader: 1 Replicas: 1,3,4 Isr: 4,1,3 >> >> Topic: tops1 Partition: 3 Leader: 2 Replicas: 2,4,5 Isr: 4,2,5 >> >> >> When I run thi

kafka-producer-perf-test.sh - No visible difference between request-num-acks 1 and -1

2015-08-21 Thread Prabhjot Bharaj
5,2,3 Isr: 5,3,2 Topic: tops1 Partition: 2 Leader: 1 Replicas: 1,3,4 Isr: 4,1,3 Topic: tops1 Partition: 3 Leader: 2 Replicas: 2,4,5 Isr: 4,2,5 This is the output of the kafka-producer-perf-test.sh for request-num-acks 1 and request-num-acks -1:- root@x.x.x.x:~# date;time kafka-producer-pe

Re: SocketTimeoutException with kafka-producer-perf-test.sh

2015-08-21 Thread Prabhjot Bharaj
tops1 Partition: 1 Leader: 5 Replicas: 5,2,3 Isr: 5,3,2 > > Topic: tops1 Partition: 2 Leader: 1 Replicas: 1,3,4 Isr: 4,1,3 > > Topic: tops1 Partition: 3 Leader: 2 Replicas: 2,4,5 Isr: 4,2,5 > > > When I run this command in parallel from 2 different machines, I get > SocketTimeoutE

SocketTimeoutException with kafka-producer-perf-test.sh

2015-08-20 Thread Prabhjot Bharaj
5 Replicas: 5,2,3 Isr: 5,3,2 Topic: tops1 Partition: 2 Leader: 1 Replicas: 1,3,4 Isr: 4,1,3 Topic: tops1 Partition: 3 Leader: 2 Replicas: 2,4,5 Isr: 4,2,5 When I run this command in parallel from 2 different machines, I get SocketTimeoutException:- time kafka-producer-perf-test.sh --broker-list x.

Re: kafka-producer-perf-test.sh

2014-12-22 Thread Otis Gospodnetic
If that kafka-producer-per-test.sh doesn't work for you and you choose the DIY approach, https://github.com/sematext/ActionGenerator may be of help. Otis -- Monitoring * Alerting * Anomaly Detection * Centralized Log Management Solr & Elasticsearch Support * http://sematext.com/ On Mon, Dec 22,

Re: kafka-producer-perf-test.sh

2014-12-22 Thread nitin sharma
have to conduce load and stress test by publishing at least 10K messages/sec to my Kafka brokers. Here is the setup: Number of brokers : 2 Topic : 1 Partition :2. Each broker leader of one. I would like to know if i can use "kafka-producer-per-test.sh" in first place. also, if any one knows the

Re: kafka-producer-perf-test.sh

2014-12-22 Thread Jun Rao
What kind of load testing do you plan to do? Thanks, Jun On Wed, Dec 17, 2014 at 3:42 AM, nitin sharma wrote: > Hi Team, > > I have to make a decision on whether i should go with Kafka producer test > utility or build my own java tool for my load testing . > > Kindly let me know if anyone know

kafka-producer-perf-test.sh

2014-12-17 Thread nitin sharma
Hi Team, I have to make a decision on whether i should go with Kafka producer test utility or build my own java tool for my load testing . Kindly let me know if anyone knows any limitation with "kafka-producer-per-test.sh" when it come to simulation of messages under load condition? Regards, Nit

Re: Question on output of kafka-producer-perf-test.sh

2014-05-28 Thread Jun Rao
logger implementation > >>>> SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for > >> further > >>>> details. > >>>> [2014-05-27 14:10:37,547] WARN Property reconnect.interval is not > valid > >>>> (kafka.utils.Ve

Re: Question on output of kafka-producer-perf-test.sh

2014-05-28 Thread Maung Than
ect.interval is not valid >>>> (kafka.utils.VerifiableProperties) >>>> [2014-05-27 14:10:37,549] WARN Property reconnect.interval is not valid >>>> (kafka.utils.VerifiableProperties) >>>> [2014-05-27 14:10:37,552] WARN Property reconnect.interval is not

Re: Question on output of kafka-producer-perf-test.sh

2014-05-28 Thread Jun Rao
perty reconnect.interval is not valid > >> (kafka.utils.VerifiableProperties) > >> [2014-05-27 14:10:37,560] WARN Property reconnect.interval is not valid > >> (kafka.utils.VerifiableProperties) > >> 2014-05-27 14:10:37:347, 2014-05-27 14:11:15:546, 0, 420,

Re: Question on output of kafka-producer-perf-test.sh

2014-05-27 Thread Guozhang Wang
] WARN Property reconnect.interval is not valid > >> (kafka.utils.VerifiableProperties) > >> [2014-05-27 14:10:37,552] WARN Property reconnect.interval is not valid > >> (kafka.utils.VerifiableProperties) > >> [2014-05-27 14:10:37,560] WARN Property reconnect.inte

Re: Question on output of kafka-producer-perf-test.sh

2014-05-27 Thread Maung Than
perties) >> [2014-05-27 14:10:37,560] WARN Property reconnect.interval is not valid >> (kafka.utils.VerifiableProperties) >> 2014-05-27 14:10:37:347, 2014-05-27 14:11:15:546, 0, 420, 1000, 2002.72, >> 52.4285, 500, 130893.4789 >> >> >> -bash-4.1

Re: Question on output of kafka-producer-perf-test.sh

2014-05-27 Thread Guozhang Wang
nect.interval is not valid > (kafka.utils.VerifiableProperties) > 2014-05-27 14:10:37:347, 2014-05-27 14:11:15:546, 0, 420, 1000, 2002.72, > 52.4285, 500, 130893.4789 > > > -bash-4.1$ > /Users/worun/kafkabuild/kafka-0.8.1-src/bin/kafka-producer-perf-test.sh > --broker-list

Question on output of kafka-producer-perf-test.sh

2014-05-27 Thread Maung Than
uild/kafka-0.8.1-src/bin/kafka-producer-perf-test.sh --broker-list vp21q12ic-hpaj020921:9092 --messages 500 --topic imessage --threads 5 --message-size 420 --batch-size 1000 --compression-codec 2 start.time, end.time, compression, message.size, batch.size, total.data.sent.in.

Re: kafka-producer-perf-test.sh help please

2014-05-23 Thread Chris Neal
/0.7/lib> > > ls -l > > total 2800 > > -rw-r--r--@ 1 cneal staff 1306797 Apr 22 18:37 kafka-0.7.0.jar > > *-rw-r--r--@ 1 cneal staff55427 Apr 22 18:37 kafka-perf-0.7.0.jar* > > -rw-r--r--@ 1 cneal staff62913 Apr 22 18:37 zkclient-0.1.jar > > > &

Re: kafka-producer-perf-test.sh help please

2014-05-23 Thread Joel Koshy
l staff55427 Apr 22 18:37 kafka-perf-0.7.0.jar* > -rw-r--r--@ 1 cneal staff 62913 Apr 22 18:37 zkclient-0.1.jar > > But then when I run the .sh scripts as follows, I get yet another exception: > > root@ip-10-0-0-42[397]:/opt/kafka/kafka> >bin/kafka-pr

kafka-producer-perf-test.sh help please

2014-05-23 Thread Chris Neal
06797 Apr 22 18:37 kafka-0.7.0.jar *-rw-r--r--@ 1 cneal staff55427 Apr 22 18:37 kafka-perf-0.7.0.jar* -rw-r--r--@ 1 cneal staff62913 Apr 22 18:37 zkclient-0.1.jar But then when I run the .sh scripts as follows, I get yet another exception: root@ip-10-0-0-42[397]:/opt/kafka/kafka