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

MINOR: Polishing RoundRobinPartitioner #14613

Merged
merged 1 commit into from
Nov 7, 2023
Merged

Conversation

quaff
Copy link
Contributor

@quaff quaff commented Oct 23, 2023

Avoid calling cluster.partitionsForTopic(topic) if cluster.availablePartitionsForTopic(topic) is not empty

Avoid calling cluster.partitionsForTopic(topic) if cluster.availablePartitionsForTopic(topic) is not empty

Signed-off-by: Yanming Zhou <[email protected]>
Copy link
Contributor

@hudeqi hudeqi left a comment

Choose a reason for hiding this comment

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

LGTM

@divijvaidya divijvaidya merged commit 317f61d into apache:trunk Nov 7, 2023
1 check failed
linzihao1999 pushed a commit to linzihao1999/kafka that referenced this pull request Nov 10, 2023
…14613)

Avoid calling cluster.partitionsForTopic(topic) if cluster.availablePartitionsForTopic(topic) is not empty

Reviewers: Divij Vaidya <[email protected]>, hudeqi <[email protected]>
rreddy-22 pushed a commit to rreddy-22/kafka-rreddy that referenced this pull request Jan 2, 2024
…14613)

Avoid calling cluster.partitionsForTopic(topic) if cluster.availablePartitionsForTopic(topic) is not empty

Reviewers: Divij Vaidya <[email protected]>, hudeqi <[email protected]>
yyu1993 pushed a commit to yyu1993/kafka that referenced this pull request Feb 15, 2024
…14613)

Avoid calling cluster.partitionsForTopic(topic) if cluster.availablePartitionsForTopic(topic) is not empty

Reviewers: Divij Vaidya <[email protected]>, hudeqi <[email protected]>
AnatolyPopov pushed a commit to aiven/kafka that referenced this pull request Feb 16, 2024
…14613)

Avoid calling cluster.partitionsForTopic(topic) if cluster.availablePartitionsForTopic(topic) is not empty

Reviewers: Divij Vaidya <[email protected]>, hudeqi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants