Skip to content

MINOR: KIP-497 Not start Controller2ChannelManager when we are using zookeeper to notify isr change#9574

Closed
dengziming wants to merge 0 commit intoapache:trunkfrom
dengziming:minor-optimize
Closed

MINOR: KIP-497 Not start Controller2ChannelManager when we are using zookeeper to notify isr change#9574
dengziming wants to merge 0 commit intoapache:trunkfrom
dengziming:minor-optimize

Conversation

@dengziming
Copy link
Copy Markdown
Member

KafkaServer Start alterIsrChannelManager even when we are using zookeeper to notify isr change.
 
BrokerToControllerChannelManager will consume some resources when started, so we should optimize them as possible.

@dengziming
Copy link
Copy Markdown
Member Author

@abbccdda @hachikuji ,Hi, PTAL.

@dengziming dengziming force-pushed the minor-optimize branch 2 times, most recently from 28f78af to 805c11d Compare November 21, 2020 11:38
@dengziming dengziming force-pushed the minor-optimize branch 2 times, most recently from 4a83f8d to 98bba65 Compare December 4, 2020 12:58
@dengziming
Copy link
Copy Markdown
Member Author

The #9677 add an ApiVersion.isAlterIsrSupported method, so just use this method.
@mumrah ,Hi, will this optimization take effect? PTAL.

Copy link
Copy Markdown
Member

@mumrah mumrah left a comment

Choose a reason for hiding this comment

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

@dengziming, thanks for the patch! I think this change looks good. We don't need the AlterIsrManager propagation thread to run unless we are running IBP greater than or equal to 2.7-IV2.

LGTM

@dengziming
Copy link
Copy Markdown
Member Author

Closed this since it has been resolved by #9732

@dengziming dengziming deleted the minor-optimize branch January 28, 2021 10:01
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.

2 participants