This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-performance-tests.git


The following commit(s) were added to refs/heads/main by this push:
     new d81939a  Burst should use random name
d81939a is described below

commit d81939a55ac4230f78eb7cd9f9e6e5bacc13735d
Author: Andrea Cosentino <[email protected]>
AuthorDate: Thu Sep 16 11:56:23 2021 +0200

    Burst should use random name
---
 profiling/kafka-minio/script/burst.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/profiling/kafka-minio/script/burst.sh 
b/profiling/kafka-minio/script/burst.sh
index 0b50ae2..7c01ed9 100755
--- a/profiling/kafka-minio/script/burst.sh
+++ b/profiling/kafka-minio/script/burst.sh
@@ -35,5 +35,5 @@ set -- "${POSITIONAL[@]}" # restore positional parameters
 
 for i in {1..$NUMBER}
 do
-   echo $PAYLOAD | $KAFKACAT_PATH -b localhost:9092 -t $TOPIC -H "file=zzzz"
+   echo $PAYLOAD | $KAFKACAT_PATH -b localhost:9092 -t $TOPIC -H "file=$(cat 
/dev/urandom | tr -dc '[:alpha:]' | fold -w ${1:-20} | head -n 1)"
 done

Reply via email to