Skip to content

KAFKA-10748: Add IP connection rate throttling metric#9685

Merged
dajac merged 2 commits into
apache:trunkfrom
splett2:KAFKA-10748
Dec 10, 2020
Merged

KAFKA-10748: Add IP connection rate throttling metric#9685
dajac merged 2 commits into
apache:trunkfrom
splett2:KAFKA-10748

Conversation

@splett2

@splett2 splett2 commented Dec 4, 2020

Copy link
Copy Markdown
Contributor

This PR adds the IP throttling metric as described in KIP-612.

Committer Checklist (excluded from commit message)

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

@@ -1753,9 +1761,9 @@ class ConnectionQuotas(config: KafkaConfig, time: Time, metrics: Metrics) extend
* The average is out of all throttle times > 0, which is consistent with the bandwidth and request quota throttle

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.

need to update comment for this method, because the beginning of the comment says that throttle is due to hitting connection rate quota.

@apovzner apovzner 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.

LGTM, left one comment.

@dajac dajac left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, thanks for the PR.

@dajac dajac merged commit b44d32d into apache:trunk Dec 10, 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