]> juplo.de Git - demos/kafka/chat/commitdiff
README
authorKai Moritz <kai@juplo.de>
Sun, 15 Jan 2023 19:15:48 +0000 (20:15 +0100)
committerKai Moritz <kai@juplo.de>
Sun, 15 Jan 2023 19:21:18 +0000 (20:21 +0100)
README.sh
haproxy.cfg

index 7b4894908c5d31e86bebe0ab6599e3ba01cf2530..49adab0b6cc972e03bcfac9a5698b36bdc392b7a 100644 (file)
--- a/README.sh
+++ b/README.sh
@@ -1,2 +1,3 @@
 #!/bin/sh
 docker run --rm --sysctl net.ipv4.ip_unprivileged_port_start=0  -v $(pwd)./haproxy.cfg://usr/local/etc/haproxy/haproxy.cfg:ro haproxy:2.7 -c
+i=$(($i+1)); echo -n "Nachricht #$i -- $(date)" | http put :8080/5c73531c-6fc4-426c-adcb-afc5c140a0f7/kai/$i X-Shard:2
index 2177daa2d1a5844baa08ed144b71f542ca4edb25..d78a358a294cd6d137a5d4b8934f9a5b77f6c19a 100644 (file)
@@ -3,7 +3,7 @@ defaults
   mode http
   timeout client 10s
   timeout connect 5s
-  timeout server 10s
+  timeout server 10m
   timeout http-request 10s
   log global