Skip to content

KAFKA-20611: Stitch share group DLQ manager with the main code.#22372

Merged
AndrewJSchofield merged 3 commits into
apache:trunkfrom
smjn:KAFKA-20611
May 28, 2026
Merged

KAFKA-20611: Stitch share group DLQ manager with the main code.#22372
AndrewJSchofield merged 3 commits into
apache:trunkfrom
smjn:KAFKA-20611

Conversation

@smjn
Copy link
Copy Markdown
Collaborator

@smjn smjn commented May 26, 2026

  • Add ShareGroupDLQManager instance creation code in BrokerServer and
    pass along the instance to SharePartitionManager to be handed over to
    SharePartition.

NOTE: Merge after #22368 Reviewers:
Apoorv Mittal apoorvmittal10@gmail.com

Reviewers: Apoorv Mittal apoorvmittal10@gmail.com, Andrew Schofield
aschofield@confluent.io

@smjn smjn requested a review from AndrewJSchofield May 26, 2026 09:31
@github-actions github-actions Bot added triage PRs from the community core Kafka Broker KIP-932 Queues for Kafka group-coordinator labels May 26, 2026
@apoorvmittal10 apoorvmittal10 removed the triage PRs from the community label May 28, 2026
Copy link
Copy Markdown
Contributor

@apoorvmittal10 apoorvmittal10 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good, 1 question though: the ShareGroupDLQManager is instatiated regardless of whether DLQ is enabled or not, as supplier is provided, hence do you think we can delay instatiation of ShareGroupDLQManager only when the share version is correctly toggled?

private final Supplier<Boolean> shareGroupDlqEnableSupplier;
private final ShareGroupDLQManager shareGroupDLQManager;

@SuppressWarnings("ParameterNumber")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@AndrewJSchofield AndrewJSchofield merged commit f2f3110 into apache:trunk May 28, 2026
24 checks passed
@smjn
Copy link
Copy Markdown
Collaborator Author

smjn commented May 29, 2026

Overall looks good, 1 question though: the ShareGroupDLQManager is instatiated regardless of whether DLQ is enabled or not, as supplier is provided, hence do you think we can delay instatiation of ShareGroupDLQManager only when the share version is correctly toggled?

Hi, share.version=2 should be defaulted in the next release so above change will be transient as DLQ manager will always be needed

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.

3 participants