Re: [PR] KAFKA-19968: Fix tiered storage quota enforcement issues [kafka]
github-actions[bot] commented on PR #21108: URL: https://github.com/apache/kafka/pull/21108#issuecomment-5754967455 A label of 'needs-attention' was automatically added to this PR in order to raise the attention of the committers. Once this issue has been triaged, the `triage` label should be removed to prevent this automation from happening again. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
Re: [PR] KAFKA-19968: Fix tiered storage quota enforcement issues [kafka]
github-actions[bot] commented on PR #21108: URL: https://github.com/apache/kafka/pull/21108#issuecomment-5739062588 This PR is being marked as stale since it has not had any activity in 90 days. If you would like to keep this PR alive, please leave a comment asking for a review. If the PR has merge conflicts, update it with the latest from the base branch. If you are having difficulty finding a reviewer, please reach out on the [mailing list](https://kafka.apache.org/contact). If this PR is no longer valid or desired, please feel free to close it. If no activity occurs in the next 30 days, it will be automatically closed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
Re: [PR] KAFKA-19968: Fix tiered storage quota enforcement issues [kafka]
github-actions[bot] commented on PR #21108: URL: https://github.com/apache/kafka/pull/21108#issuecomment-4756480638 A label of 'needs-attention' was automatically added to this PR in order to raise the attention of the committers. Once this issue has been triaged, the `triage` label should be removed to prevent this automation from happening again. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
Re: [PR] KAFKA-19968: Fix tiered storage quota enforcement issues [kafka]
github-actions[bot] commented on PR #21108: URL: https://github.com/apache/kafka/pull/21108#issuecomment-4738217553 This PR is being marked as stale since it has not had any activity in 90 days. If you would like to keep this PR alive, please leave a comment asking for a review. If the PR has merge conflicts, update it with the latest from the base branch. If you are having difficulty finding a reviewer, please reach out on the [mailing list](https://kafka.apache.org/contact). If this PR is no longer valid or desired, please feel free to close it. If no activity occurs in the next 30 days, it will be automatically closed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
Re: [PR] KAFKA-19968: Fix tiered storage quota enforcement issues [kafka]
github-actions[bot] commented on PR #21108: URL: https://github.com/apache/kafka/pull/21108#issuecomment-4095282115 A label of 'needs-attention' was automatically added to this PR in order to raise the attention of the committers. Once this issue has been triaged, the `triage` label should be removed to prevent this automation from happening again. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
Re: [PR] KAFKA-19968: Fix tiered storage quota enforcement issues [kafka]
github-actions[bot] commented on PR #21108: URL: https://github.com/apache/kafka/pull/21108#issuecomment-3668172416 A label of 'needs-attention' was automatically added to this PR in order to raise the attention of the committers. Once this issue has been triaged, the `triage` label should be removed to prevent this automation from happening again. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
Re: [PR] KAFKA-19968: Fix tiered storage quota enforcement issues [kafka]
nandini12396 commented on PR #21108: URL: https://github.com/apache/kafka/pull/21108#issuecomment-3662579037 Thanks so much for the review and reply! I've updated the PR with the tests. > If the remoteFetchQuotaBytesPerSecond is set to 25 Mbps and there is a message with 30 MB size, will the consumer get stuck? The previous behaviour was to allow the consumption to continue. No. The behavior follows Kafka's standard quota handling pattern used in other fetch paths - we allow at least one fetch to proceed even if it exceeds the quota, but subsequent requests will be throttled to bring the average back within limits. > How can Kafka differentiate whether the error is from remote storage or there is an error in processing the response? You're right that this is an improvement worth discussing. Currently, the implementation releases the quota reservation on any error during remote fetch processing. In practice, most errors happen after bandwidth usage? We could refine this to only release on specific error types. What's your preference? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
Re: [PR] KAFKA-19968: Fix tiered storage quota enforcement issues [kafka]
kamalcph commented on PR #21108: URL: https://github.com/apache/kafka/pull/21108#issuecomment-3659560571 Thanks for the PR! Went over first pass, have below questions: > Startup race condition: RemoteLogManager initialized with default quotas (Long.MAX_VALUE = unlimited) and relied on dynamic config updates to apply correct values, creating a window where operations could exceed configured quotas. Could you add a unit test to cover this case? > Multiple threads could check quota before any recorded usage, allowing all to bypass limits simultaneously. Also, cover this case with a unit test to understand the issue. > Modified ReplicaManager to call recordAndCheckFetchQuota() BEFORE dispatching remote fetch, If the remoteFetchQuotaBytesPerSecond is set to 25 Mbps and there is a message with 30 MB size, will the consumer get stuck? The previous behaviour was to allow the consumption to continue. > On error, releases the full reservation to prevent leaks How can Kafka differentiate whether the error is from remote storage or there is an error in processing the response? I think this is a good improvement. Usually, we don't expect errors in RLMM or any Kafka components while processing the response. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
Re: [PR] KAFKA-19968: Fix tiered storage quota enforcement issues [kafka]
github-actions[bot] commented on PR #21108: URL: https://github.com/apache/kafka/pull/21108#issuecomment-3658581146 A label of 'needs-attention' was automatically added to this PR in order to raise the attention of the committers. Once this issue has been triaged, the `triage` label should be removed to prevent this automation from happening again. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
Re: [PR] KAFKA-19968: Fix tiered storage quota enforcement issues [kafka]
showuon commented on PR #21108: URL: https://github.com/apache/kafka/pull/21108#issuecomment-3635643183 @abhijeetk88 @kamalcph @satishd , I think the issue is valid. WDYT? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
