feat: add bounded kafka group cleanup

This commit is contained in:
Codex
2026-07-10 01:53:53 +02:00
parent 374ff576b1
commit dd7f028a5b
6 changed files with 429 additions and 2 deletions
+16
View File
@@ -162,5 +162,21 @@ management:
maxTailLimit: 50
defaultGroupListLimit: 25
maxGroupListLimit: 200
consumerGroupCleanup:
defaultCandidateLimit: 25
maxCandidateLimit: 200
commandTimeoutSeconds: 30
deleteBatchSize: 50
policies:
- id: hwlab-cloud-api-sse
prefix: hwlab-v03-cloud-api-sse-
inactiveStates:
- Empty
minimumGroupAgeHours: 1
timestamp:
source: group-name-regex
pattern: ^hwlab-v03-cloud-api-sse-([0-9]{13})-[0-9a-f]{8}$
captureGroup: 1
unit: unix-ms
defaultShadowTopic: hwlab.event.v1
shadowProducerId: unidesk-platform-infra-kafka-cli