Skip to content

KAFKA-7369; Handle retriable errors in AdminClient list groups API#5595

Merged
hachikuji merged 3 commits intoapache:trunkfrom
hachikuji:KAFKA-7369
Sep 1, 2018
Merged

KAFKA-7369; Handle retriable errors in AdminClient list groups API#5595
hachikuji merged 3 commits intoapache:trunkfrom
hachikuji:KAFKA-7369

Conversation

@hachikuji
Copy link
Copy Markdown
Contributor

We should retry when possible if ListGroups fails due to a retriable error (e.g. coordinator loading).

Committer Checklist (excluded from commit message)

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

@cmccabe
Copy link
Copy Markdown
Contributor

cmccabe commented Aug 31, 2018

LGTM

Copy link
Copy Markdown
Contributor

@guozhangwang guozhangwang left a comment

Choose a reason for hiding this comment

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

LGTM

@hachikuji this is not in the scope of this PR, but looking into the handleResponse() functions lots of them seem to not follow the throw-and-let-it-handled-by-Call patten, e.g.

DescribeTopicsResult#handleResponse
CreateAclsResult#handleResponse

Should we make a pass over these and make sure they are all covered in a separate PR?

@hachikuji
Copy link
Copy Markdown
Contributor Author

@guozhangwang Yeah, good call. I'll make a pass and create JIRAs if they don't already exist.

@hachikuji hachikuji merged commit 4f38c8c into apache:trunk Sep 1, 2018
hachikuji added a commit that referenced this pull request Sep 1, 2018
…5595)

We should retry when possible if ListGroups fails due to a retriable error (e.g. coordinator loading).

Reviewers: Colin Patrick McCabe <colin@cmccabe.xyz>,  Guozhang Wang <wangguoz@gmail.com>
@omkreddy
Copy link
Copy Markdown
Contributor

omkreddy commented Sep 1, 2018

@hachikuji recently I raised a similar PR #5578 to handle retraible errors in consumer group related API. Pls take a look.

pengxiaolong pushed a commit to pengxiaolong/kafka that referenced this pull request Jun 14, 2019
…pache#5595)

We should retry when possible if ListGroups fails due to a retriable error (e.g. coordinator loading).

Reviewers: Colin Patrick McCabe <colin@cmccabe.xyz>,  Guozhang Wang <wangguoz@gmail.com>
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.

4 participants