Skip to content

MINOR: Update max.connections.per.ip.overrides config docs#4819

Merged
hachikuji merged 2 commits into
apache:trunkfrom
omkreddy:maxconnectionsDoc
Apr 5, 2018
Merged

MINOR: Update max.connections.per.ip.overrides config docs#4819
hachikuji merged 2 commits into
apache:trunkfrom
omkreddy:maxconnectionsDoc

Conversation

@omkreddy

@omkreddy omkreddy commented Apr 3, 2018

Copy link
Copy Markdown
Contributor
  • Add a validation check to make sure max.connections.per.ip.overrides is configured when max.connections.per.ip is set zero.

@omkreddy

omkreddy commented Apr 3, 2018

Copy link
Copy Markdown
Contributor Author

@hachikuji Pls have a look at this minor doc change.

@hachikuji hachikuji left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for following up on this. Left a couple minor suggestions.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

While we're at it, do you think it's worth mentioning that this can be set to 0 if there are overrides? And now that I'm thinking about it, maybe we missed this validation in the other patch?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@hachikuji Thanks for the review. Updated the doc and added a validation check.
Pls have a look.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nit: "comma-separated"
Also, maybe

An example value is "hostName:100,127.0.0.1:200."

@omkreddy
omkreddy force-pushed the maxconnectionsDoc branch from fa93508 to 38b1573 Compare April 5, 2018 07:07
@omkreddy
omkreddy force-pushed the maxconnectionsDoc branch from 38b1573 to 7877b12 Compare April 5, 2018 07:25

@hachikuji hachikuji left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks, LGTM. By the way, I created KAFKA-6751 since it seems like it might be useful to be able to update this config dynamically.

@omkreddy

omkreddy commented Apr 5, 2018

Copy link
Copy Markdown
Contributor Author

@hachikuji Thanks for the review. I will work on KAFKA-6751.

@hachikuji
hachikuji merged commit ed2f10e into apache:trunk Apr 5, 2018
@omkreddy
omkreddy deleted the maxconnectionsDoc branch July 3, 2018 15:44
ying-zheng pushed a commit to ying-zheng/kafka that referenced this pull request Jul 6, 2018
Add a validation check to make sure max.connections.per.ip.overrides is configured when max.connections.per.ip is set zero. Also clean up the config description.
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