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:
@@ -0,0 +1,15 @@
|
||||
1 pod owns 6 partitions; KEDA adds 2 pods. How many partitions does pod 1 give up?
|
||||
|
||||
classic + RangeAssignor (eager)
|
||||
final: A=[0, 1] B=[2, 3] C=[4, 5]
|
||||
partitions A had to give up: 6 of 6; time until last assignment change: ~189 ms
|
||||
|
||||
classic + CooperativeStickyAssignor
|
||||
final: A=[0, 1] B=[2, 4] C=[3, 5]
|
||||
partitions A had to give up: 4 of 6; time until last assignment change: ~3197 ms
|
||||
|
||||
group.protocol=consumer (KIP-848)
|
||||
final: A=[0, 1] B=[3, 4] C=[2, 5]
|
||||
partitions A had to give up: 4 of 6; time until last assignment change: ~5120 ms
|
||||
|
||||
Timing varies per run; the revoked-partition counts are what the test asserts.
|
||||
Reference in New Issue
Block a user