Skip to content

KAFKA-20612: Stitch DLQ metrics with ShareGroupDLQStateManager.#22412

Open
smjn wants to merge 2 commits into
apache:trunkfrom
smjn:KAFKA-20612-2
Open

KAFKA-20612: Stitch DLQ metrics with ShareGroupDLQStateManager.#22412
smjn wants to merge 2 commits into
apache:trunkfrom
smjn:KAFKA-20612-2

Conversation

@smjn
Copy link
Copy Markdown
Collaborator

@smjn smjn commented May 29, 2026

  • Stitched ShareGroupMetrics with ShareGroupDLQStateManager . This
    includes 3 metrics defined in KIP-1191:
    • total records written - incremented on success response from produce
      RPC
    • produce requests total per group per sec - incremented for each new
      handler enqueued for produce
    • produce requests failed per group per sec - incremented for every
      handler with failed produce response
  • New tests have been added to ShareGroupDLQStateManagerTest to test
    batching and metrics.
  • Currently, ownership of ShareGroupMetrics was with
    SharePartitionManager which has been modified. Now the owner is
    BrokerServer which passes the object to SPM and SGDSM. Closing the
    metrics is also done by the BrokerServer.

@smjn smjn requested a review from apoorvmittal10 May 29, 2026 12:05
@github-actions github-actions Bot added the triage PRs from the community label May 29, 2026
@smjn smjn requested a review from AndrewJSchofield May 29, 2026 12:05
@github-actions github-actions Bot added core Kafka Broker KIP-932 Queues for Kafka labels May 29, 2026
@apoorvmittal10 apoorvmittal10 added ci-approved and removed ci-approved triage PRs from the community labels May 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-approved core Kafka Broker KIP-932 Queues for Kafka

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants