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:
asmhatre
2026-11-29 13:20:43 +05:30
co-authored by Claude Sonnet 5.5
parent e54cf840fd
commit e2c42dc268
40 changed files with 1244 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
$ profile kafka, supplier capped at 12 orders (demo.max-orders=12), broker apache/kafka:4.4.0
billed lines in the application log: 12
topic invoices-k2 created by the binder with 1 partition(s)
topic orders-k2 created by the binder with 3 partition(s)
consumer group 'pricing': 3 members (concurrency=3), partitions per member [1, 1, 1]
records on orders-k2 by partition (customer of each record):
partition 0: [bob, alice, bob, alice, bob, alice]
partition 1: [dave, dave, dave]
partition 2: [carol, carol, carol]
records that carry a Kafka message key: 0
alice: in 1 partition(s), actually partition 0; murmur2 % 3 = 0, hashCode % 3 = 0
bob: in 1 partition(s), actually partition 0; murmur2 % 3 = 0, hashCode % 3 = 1
carol: in 1 partition(s), actually partition 2; murmur2 % 3 = 2, hashCode % 3 = 1
dave: in 1 partition(s), actually partition 1; murmur2 % 3 = 1, hashCode % 3 = 2