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-18432: Remove unused code from AutoTopicCreationManager #18438

Merged
merged 2 commits into from
Jan 8, 2025

Conversation

LoganZhuZzz
Copy link
Contributor

JIRA: https://issues.apache.org/jira/browse/KAFKA-18432

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 triage PRs from the community core Kafka Broker small Small PRs labels Jan 8, 2025
controller, groupCoordinator, txnCoordinator, shareCoordinator)
}
}

class DefaultAutoTopicCreationManager(
config: KafkaConfig,
channelManager: Option[NodeToControllerChannelManager],
Copy link
Member

Choose a reason for hiding this comment

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

the wrap of Option is unnecessary, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Exactly, the param is required.

The `channelManager` parameter is now required and no longer optional.
Copy link
Member

@chia7712 chia7712 left a comment

Choose a reason for hiding this comment

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

LGTM

I will backport this PR to 4.0 as it removes the zk-related code reference.

@chia7712 chia7712 merged commit 5efaae6 into apache:trunk Jan 8, 2025
9 checks passed
chia7712 pushed a commit that referenced this pull request Jan 8, 2025
@github-actions github-actions bot removed the triage PRs from the community label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci-approved core Kafka Broker small Small PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants