-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[KIP-1102] Enable clients to rebootstrap based on timeout or error code #4981
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
Changes from all commits
e6e4a92
fea0e80
3f25ddd
d30ea07
f4b4b4c
88e558b
24b40d9
f55f106
05b1c87
34d45aa
981f6ff
2a588a7
1f27a5e
f94ffd2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,6 +2,7 @@ | |
|
|
||
| librdkafka v2.11.0 is a feature release: | ||
|
|
||
| * [KIP-1102](https://cwiki.apache.org/confluence/display/KAFKA/KIP-1102%3A+Enable+clients+to+rebootstrap+based+on+timeout+or+error+code) Enable clients to rebootstrap based on timeout or error code (#4981). | ||
| * Fix for poll ratio calculation in case the queues are forwarded (#5017). | ||
|
|
||
|
|
||
|
|
@@ -124,8 +125,22 @@ librdkafka v2.10.0 is a feature release: | |
| > The [KIP-848](https://cwiki.apache.org/confluence/display/KAFKA/KIP-848%3A+The+Next+Generation+of+the+Consumer+Rebalance+Protocol) consumer is currently in **Preview** and should not be used in production environments. Implementation is feature complete but contract could have minor changes before General Availability. | ||
|
|
||
|
|
||
| ## Upgrade considerations | ||
|
|
||
|
|
||
| Starting from this version, brokers not reported in Metadata RPC call are | ||
| removed along with their threads. Brokers and their threads are added back | ||
| when they appear in a Metadata RPC response again. When no brokers are left | ||
| or they're not reachable, the client will start a re-bootstrap sequence | ||
| by default. `metadata.recovery.strategy` controls this, | ||
| which defaults to `rebootstrap`. | ||
| Setting `metadata.recovery.strategy` to `none` avoids any re-bootstrapping and | ||
| leaves only the broker received in last successful metadata response. | ||
|
|
||
|
|
||
| ## Enhancements and Fixes | ||
|
|
||
| * [KIP-899](https://cwiki.apache.org/confluence/display/KAFKA/KIP-899%3A+Allow+producer+and+consumer+clients+to+rebootstrap) Allow producer and consumer clients to rebootstrap | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should be upgrading the release notes as well. How should we do that?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You mean the release in GitHub? I can modify it after merging
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes. |
||
| * Identify brokers only by broker id (#4557, @mfleming) | ||
| * Remove unavailable brokers and their thread (#4557, @mfleming) | ||
| * Commits during a cooperative incremental rebalance aren't causing | ||
|
|
@@ -175,7 +190,7 @@ librdkafka v2.10.0 is a feature release: | |
| and connection. | ||
| Happens since 1.x (#4557, @mfleming). | ||
| * Issues: #4557 | ||
| Remove brokers not reported in a metadata call, along with their thread. | ||
| Remove brokers not reported in a metadata call, along with their threads. | ||
| Avoids that unavailable brokers are selected for a new connection when | ||
| there's no one available. We cannot tell if a broker was removed | ||
| temporarily or permanently so we always remove it and it'll be added back when | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.