-
Notifications
You must be signed in to change notification settings - Fork 14.8k
KAFKA-19800: Compute share partition lag in GroupCoordinatorService #20839
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
Merged
+565
−26
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
9e66586
KAFKA-19800: Compute share partition lag in GroupCoordinatorService
chirag-wadhwa5 2515cd3
KAFKA-19800: Removed the implementation class of PartitionMetadataClient
chirag-wadhwa5 f1aeb2f
Merge remote-tracking branch 'upstream/trunk' into KAFKA-19800
chirag-wadhwa5 3f1f2ad
KAFKA-19800: minor formatting error
chirag-wadhwa5 7f79763
KAFKA-19800: Minor changes for test failure resolution
chirag-wadhwa5 9d126b7
KAFKA-19800: Added a minor comment for the no-op implementation of Pa…
chirag-wadhwa5 616d4b8
KAFKA-19800: pass the lag retrieved from DescribeShareGroupOffsetsRes…
chirag-wadhwa5 370671f
KAFKA-19800: Changed the logic to make the code less complex
chirag-wadhwa5 d019b3c
KAFKA-19800: moved PartitionMetadataClient to org.apache.kafka.coordi…
chirag-wadhwa5 5497b6f
KAFKA-19800: minor changes for better readability
chirag-wadhwa5 c773cac
KAFKA-19800: Changed the logic to remove an extra map usage
chirag-wadhwa5 fc75082
KAFKA-19800: Minor changes for better readability
chirag-wadhwa5 790ec21
KAFKA-19800: added comments and corrected the lag formula
chirag-wadhwa5 9200195
KAFKA-19800: corrected a few tests
chirag-wadhwa5 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This implementation will always retutn
-1, am I reading right?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the review. Actually, this is a placeholder. I am working in parallel on a separate PR that will create an implementation class of
PartitionMetadataClientusing theInterBrokerSendThreadto fetch the partition end offsets. Once that PR is completed, I can simply plug in the instance of the new impl class here.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense, but it should be written as comment in BrokerServer.scala and in PR description. Can you please do that.