Skip to content

Commit

Permalink
fix config
Browse files Browse the repository at this point in the history
  • Loading branch information
VadimPlh committed Sep 29, 2021
1 parent 5f6d92e commit 2af548d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions coproc-test/config.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
#!/bin/bash

export COPROC_COUNT=5
export RECORD_SIZE=1000
export RECORD_SIZE=500
export THROUGHPUT=-1
export PARTITIONS=5
export PARTITIONS=32
export TIMEOUT=120000

export MESSAGES_COUNT=100000
export MESSAGES_COUNT=500000
2 changes: 1 addition & 1 deletion coproc-test/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ rm -rf ${CONSUMER_DIR}
mkdir ${CONSUMER_DIR}
for (( i=0; i < ${COPROC_COUNT}; i++ ))
do
$consumer --topic "one_to_one_${i}."'$output$' --bootstrap-server 127.0.0.1:9092,127.0.0.1:9093,127.0.0.1:9094 --messages ${MESSAGES_COUNT} &> ${CONSUMER_DIR}/consumer_${i}.txt &
$consumer --topic "one_to_one_${i}."'$output$' --bootstrap-server 127.0.0.1:9092,127.0.0.1:9093,127.0.0.1:9094 --messages ${MESSAGES_COUNT} &> ${CONSUMER_DIR}/consumer_${i}.txt --timeout ${TIMEOUT} &
done


0 comments on commit 2af548d

Please sign in to comment.