-
Notifications
You must be signed in to change notification settings - Fork 3.2k
KIP-320 implementation #4162
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
Merged
KIP-320 implementation #4162
Changes from 1 commit
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
b75c4d3
Add partition leader_epoch and change rktpar _private to point to glu…
edenhill 3ac9783
Update Kafka protocol enums
edenhill 94292e8
Leader epoch support, WIP
edenhill cb7e6e2
Test 0018: improve timeout robustness
edenhill b2e0652
Replace consumer offsets with fetch_pos (offset, epoch)
edenhill 34316a8
rd_kafka_buf_(write|read)_topic_partition_list(): variable field orde…
edenhill b80356d
Added rd_kafka_buf_write_arraycnt()
edenhill f130f66
Additional partition leader epoch handling
edenhill 0b0e94c
Test updates following stricter epoch handling
edenhill bb8c5ce
WIP: Reset preferred replica after refresh
milindl b78261f
Merge branch 'master' into kip320
emasab f3b384c
Add has reliable leader epoch check,
emasab 8415d50
Fix in mock handler: TopicAuthorizedOperations
emasab 73a371a
Delegate to leader on metadata refresh (#4163)
emasab 6358405
Merge branch 'master' into feature/kip320
emasab 80270ad
Fix upgrade Metadata to version 9
emasab 9e787bb
Merge branch 'master' into feature/kip320
emasab 4ac9b0d
MSVC compatibility about statement
emasab 3dfa1f3
Differentiate current epoch from offset epoch
emasab 200c4d6
Has reliable leader epochs function
emasab 4658abd
Fix cached metadata without epoch
emasab 680cf2e
Update fetch pos leader epoch with the
emasab 1267ed6
Allow calling reset with log truncation error,
emasab 6945ca9
Seek with wait was causing a deadlock,
emasab 7b5a1a4
Remove write tags as it's written in
emasab d852323
Update next fetch position before validating
emasab 2f02560
Replace current leader epoch after
emasab ade86e6
Force leader query parameter
emasab 2de4371
Check error in requested partition too
emasab b3e388b
Fix error action and allow refresh to happen
emasab de379d1
Change action for unknown leader epoch:
emasab c70fc0d
Remove next leader epoch
emasab ef3b7fd
Fix there's no leader epoch associated to
emasab a77c2ee
rd_kafka_topic_partition_list_update copies epoch
emasab b96ee42
Check offsets and epoch in test 0103,
emasab 0300b2e
Add leader epoch to consumer example
emasab 5e50954
Validate seek requests
emasab b13bade
Merge branch 'master' into feature/kip320
emasab 4f304d7
Don't export get and set current leader epoch
emasab 88fc9be
Fetch mock handler mimics broker behavior
emasab a5e91a7
Merge branch 'master' into feature/kip320
emasab 15ace01
Adapt batch consumer fix to KIP-320
emasab 19195a7
Set app position before validating
emasab 8a5c46a
librdkafka version v2.1.0
emasab 2d8cfc3
Merge branch 'master' into feature/kip320
emasab 8a324bf
Better message in the case no offset
emasab 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
Differentiate current epoch from offset epoch
- Loading branch information
commit 3dfa1f393c04492cb004f5c412f51f8f21359c07
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
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.
Uh oh!
There was an error while loading. Please reload this page.