Add cloud-stream module: Spring Cloud Stream 5.1 on Boot 4.2 with Kafka and RabbitMQ binders
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b5uEyg58znuchZ8C8i
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
e54cf840fd
commit
e2c42dc268
Executable
+8
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
# Reads the default partition selector out of the shipped jar, because the reference page and the jar disagree.
|
||||
set -eu
|
||||
cd "$(dirname "$0")/.."
|
||||
JAR=$(find "${HOME}/.m2" -name 'spring-cloud-stream-5.1.0.jar' | head -1)
|
||||
echo '$ javap -p -c PartitionHandler$DefaultPartitionSelector (selectPartition and the murmur2 call)'
|
||||
javap -p -c -cp "$JAR" 'org.springframework.cloud.stream.binder.PartitionHandler$DefaultPartitionSelector' 2>/dev/null \
|
||||
| sed -n '/public int selectPartition/,/ireturn/p' | sed -E 's/^ +//'
|
||||
Reference in New Issue
Block a user