Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KAFKA-18613: Auto-creation of internal topics in streams group heartbeat #18981

Open
wants to merge 3 commits into
base: trunk
Choose a base branch
from

Conversation

lucasbru
Copy link
Member

Implements auto-topic creation when handling the streams group heartbeat.

Inside KafkaApis, the handler for streamsGroupHeartbeat uses the result of the streams group heartbeat inside the group coordinator to attempt to create all missing internal topics using AutoTopicCreationManager. CREATE TOPIC ACLs are checked. The unit tests class AutoTopicCreationManagerTest is brought back (it was recently deleted during a ZK removal PR), but testing only the kraft-related functionality.

This is a stacked PR. Only review the last commit.

Committer Checklist (excluded from commit message)

  • Verify design and implementation
  • Verify test coverage and CI build status
  • Verify documentation (including upgrade notes)

@github-actions github-actions bot added the core Kafka Broker label Feb 20, 2025
@lucasbru lucasbru force-pushed the kip1071merge/auto_topic_creation branch from cc292cb to 3a2b2a3 Compare February 21, 2025 20:07
@lucasbru lucasbru force-pushed the kip1071merge/auto_topic_creation branch from 3a2b2a3 to 64a4451 Compare February 21, 2025 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Kafka Broker
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant