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

Offset tool should show replica details and group details #39

Merged

Conversation

chia7712
Copy link
Contributor

@chia7712 chia7712 commented Oct 6, 2021

topic='ikea', partition=0, startOffset=407, endOffset=15392375, groups=[Group{id='group-id-1633515512798', offset=10629713}, Group{id='group-id-1633515555181', offset=15390965}, Group{id='group-id-1633515285322', offset=4416648}], replicas=[Replica{broker=59, lag=0, leader=false, inSync=true}, Replica{broker=569, lag=0, leader=true, inSync=true}, Replica{broker=919, lag=0, leader=false, inSync=true}]

這隻PR讓我們的offset工具可以顯示跟partition有關的所有offsets,包含:

  1. earliest offset
  2. latest offset
  3. replica lag
  4. group offset

晚一點會再補上測試

@chia7712 chia7712 merged commit 08f50d0 into opensource4you:main Oct 6, 2021
@chia7712 chia7712 deleted the show_more_details_of_partitions branch December 29, 2021 09:45
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.

1 participant