Add keda: Spring Boot 4.2.0 Kafka consumers under KEDA autoscaling (partition cap, lag maths, rebalances, SIGTERM vs SIGKILL)
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b69H5rTewUKPyhGS8r
This commit is contained in:
Executable
+18
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
# Regenerates every file in output/ with one command. Needs JDK 25 and network access to Maven Central.
|
||||
# Timing figures (rebalance milliseconds, SIGKILL takeover time) drift between runs; the counts are asserted.
|
||||
set -euo pipefail
|
||||
cd "$(dirname "$0")/.."
|
||||
mkdir -p output
|
||||
|
||||
{
|
||||
echo "# environment"
|
||||
java -version 2>&1 | grep -v '^Picked up'
|
||||
mvn -v 2>&1 | grep -E '^Apache Maven'
|
||||
echo "# resolved dependencies"
|
||||
mvn -B -q dependency:list -DincludeArtifactIds=kafka-clients,spring-kafka,spring-boot-starter-kafka,spring-kafka-test \
|
||||
-DoutputFile=/dev/stdout 2>/dev/null | grep -E ':(jar):' | sed 's/^ *//' | sort -u
|
||||
} > output/00-versions.txt
|
||||
|
||||
mvn -B test
|
||||
echo "done: $(ls output | wc -l) files in output/"
|
||||
Reference in New Issue
Block a user