Skip to content

[LI-HOTFIX] Add test case for describe maintenance broker config - #248

Merged
lmr3796 merged 3 commits into
linkedin:2.4-lifrom
lmr3796:describe-maintenance-broker-config
Jan 18, 2022
Merged

[LI-HOTFIX] Add test case for describe maintenance broker config#248
lmr3796 merged 3 commits into
linkedin:2.4-lifrom
lmr3796:describe-maintenance-broker-config

Conversation

@lmr3796

@lmr3796 lmr3796 commented Jan 18, 2022

Copy link
Copy Markdown

TICKET = KAFKA-8527
LI_DESCRIPTION =
In the commit 6b93c27 [LI-HOTFIX] Add dynamic maintenance broker config, the test cases didn't cover the describe config API.
Adding this to protect the code path and facilitate the future rebase process.

EXIT_CRITERIA = TICKET [KAFKA-8527] or the patch is dropped

More detailed description of your change,
if necessary. The PR title and PR message become
the squashed commit message, so use a separate
comment to ping reviewers.

Summary of testing strategy (including rationale)
for the feature or bug fix. Unit and/or integration
tests are expected for any behaviour change and
system tests should be considered for larger changes.

Committer Checklist (excluded from commit message)

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

@lmr3796
lmr3796 requested review from gitlw and wyuka January 18, 2022 18:33
TICKET = KAFKA-8527
LI_DESCRIPTION =
In the commit 6b93c27 `[LI-HOTFIX] Add dynamic maintenance broker
config`, the test cases didn't cover the describe config API.  Adding
this to protect the code path and facilitate the future rebase process.

EXIT_CRITERIA = TICKET [KAFKA-8527] or the patch is dropped
@lmr3796
lmr3796 force-pushed the describe-maintenance-broker-config branch from 5f42b13 to 8b2520d Compare January 18, 2022 18:34

@gitlw gitlw left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM, thanks!

@lmr3796
lmr3796 merged commit e59eb2d into linkedin:2.4-li Jan 18, 2022
@lmr3796
lmr3796 deleted the describe-maintenance-broker-config branch January 18, 2022 19:05
lmr3796 pushed a commit to lmr3796/kafka that referenced this pull request Jan 18, 2022
This also squashes the directly related test commits
- e59b0da [LI-HOTFIX] Add test case for describe maintenance broker config (linkedin#248)
- 1f7bab6 [LI-HOTFIX] fix DynamicConfig and DynamicBrokerConfig cross reference issue (linkedin#69)

TICKET = KAFKA-8527
LI_DESCRIPTION =
When a broker is masked as maintenance broker, Kafka will not
assign partitions of new topics to the broker if partition assignment is done by
kafka brokers.
1) add dynamic broker config to support maintenance brokers
2) add logic to update maintenance broker info in controller
3) support maintenance broker in Kafka API
4) support maintenance broker in AdminZkClient
5) add logic to rearrange replica assignment for new topics for maintenance brokers
5) test cases

RB=1484649
G=Kafka-Code-Reviews
R=agencer, amendhek, jkoshy, zahuang
A=zahuang

EXIT_CRITERIA = TICKET [KAFKA-8527]
lmr3796 pushed a commit to lmr3796/kafka that referenced this pull request Feb 9, 2022
This also squashes the directly related test commits
- e59b0da [LI-HOTFIX] Add test case for describe maintenance broker config (linkedin#248)
- 1f7bab6 [LI-HOTFIX] fix DynamicConfig and DynamicBrokerConfig cross reference issue (linkedin#69)

TICKET = KAFKA-8527
LI_DESCRIPTION =
When a broker is masked as maintenance broker, Kafka will not
assign partitions of new topics to the broker if partition assignment is done by
kafka brokers.
1) add dynamic broker config to support maintenance brokers
2) add logic to update maintenance broker info in controller
3) support maintenance broker in Kafka API
4) support maintenance broker in AdminZkClient
5) add logic to rearrange replica assignment for new topics for maintenance brokers
5) test cases

RB=1484649
G=Kafka-Code-Reviews
R=agencer, amendhek, jkoshy, zahuang
A=zahuang

EXIT_CRITERIA = TICKET [KAFKA-8527]
lmr3796 pushed a commit to lmr3796/kafka that referenced this pull request Mar 25, 2022
This also squashes the directly related test commits
- e59b0da [LI-HOTFIX] Add test case for describe maintenance broker config (linkedin#248)
- 1f7bab6 [LI-HOTFIX] fix DynamicConfig and DynamicBrokerConfig cross reference issue (linkedin#69)

TICKET = KAFKA-8527
LI_DESCRIPTION =
When a broker is masked as maintenance broker, Kafka will not
assign partitions of new topics to the broker if partition assignment is done by
kafka brokers.
1) add dynamic broker config to support maintenance brokers
2) add logic to update maintenance broker info in controller
3) support maintenance broker in Kafka API
4) support maintenance broker in AdminZkClient
5) add logic to rearrange replica assignment for new topics for maintenance brokers
5) test cases

RB=1484649
G=Kafka-Code-Reviews
R=agencer, amendhek, jkoshy, zahuang
A=zahuang

EXIT_CRITERIA = TICKET [KAFKA-8527]
lmr3796 pushed a commit to lmr3796/kafka that referenced this pull request Jun 2, 2022
This also squashes the directly related test commits
- e59b0da [LI-HOTFIX] Add test case for describe maintenance broker config (linkedin#248)
- 1f7bab6 [LI-HOTFIX] fix DynamicConfig and DynamicBrokerConfig cross reference issue (linkedin#69)

TICKET = KAFKA-8527
LI_DESCRIPTION =
When a broker is masked as maintenance broker, Kafka will not
assign partitions of new topics to the broker if partition assignment is done by
kafka brokers.
1) add dynamic broker config to support maintenance brokers
2) add logic to update maintenance broker info in controller
3) support maintenance broker in Kafka API
4) support maintenance broker in AdminZkClient
5) add logic to rearrange replica assignment for new topics for maintenance brokers
5) test cases

RB=1484649
G=Kafka-Code-Reviews
R=agencer, amendhek, jkoshy, zahuang
A=zahuang

EXIT_CRITERIA = TICKET [KAFKA-8527]
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