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

Add DescribeLogDirs to admin client #1646

Merged
merged 1 commit into from
May 5, 2020
Merged

Conversation

mimaison
Copy link
Contributor

No description provided.

@mimaison mimaison requested a review from bai as a code owner March 19, 2020 11:32
broker, err := ca.findBroker(b)
if err != nil {
Logger.Printf("Unable to find broker with ID = %v\n", b)
continue

Choose a reason for hiding this comment

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

In the case of a missing broker, will the waitgroup ever finish waiting since a done was never called at this point?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

In case a broker does not reply, it will block for config.Net.ReadTimeout and return with an error read tcp 127.0.0.1:60810->127.0.0.1:9092: i/o timeout.

The same happens in ListConsumerGroups.

Copy link
Collaborator

@dnwe dnwe left a comment

Choose a reason for hiding this comment

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

LGTM

@dnwe dnwe merged commit 1e4e077 into IBM:master May 5, 2020
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