You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "FrankYang0529 (via GitHub)" <gi...@apache.org> on 2024/12/18 14:42:53 UTC
[PR] KAFKA-18915: Enter incompatible instead of leaving incompatible entires blank in Kafka Streams broker compatibility matrix [kafka]
FrankYang0529 opened a new pull request, #18258:
URL: https://github.com/apache/kafka/pull/18258
In the client-broker compatibility matrix of the Kafka Streams docs, we use an empty cell to indicate "incompatible". This is confusing and some have mentioned it looks like an error rather than intentional, so we should instead just explicitly enter the word "incompatible". See this comment for context: https://github.com/apache/kafka/pull/17906#issuecomment-2505269545
Preview:

### Committer Checklist (excluded from commit message)
- [ ] Verify design and implementation
- [ ] Verify test coverage and CI build status
- [ ] Verify documentation (including upgrade notes)
--
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: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] KAFKA-18195: Enter incompatible instead of leaving incompatible entires blank in Kafka Streams broker compatibility matrix [kafka]
Posted by "mjsax (via GitHub)" <gi...@apache.org>.
mjsax commented on code in PR #18258:
URL: https://github.com/apache/kafka/pull/18258#discussion_r1984230751
##########
docs/streams/upgrade-guide.html:
##########
@@ -1735,73 +1735,38 @@ <h3 class="anchor-heading"><a id="streams_api_changes_0101" class="anchor-link">
<h3 class="anchor-heading"><a id="streams_api_broker_compat" class="anchor-link"></a><a href="#streams_api_broker_compat">Streams API broker compatibility</a></h3>
- <p>The following table shows which versions of the Kafka Streams API are compatible with various Kafka broker versions.</p>
+ <p>The following table shows which versions of the Kafka Streams API are compatible with various Kafka broker versions. For Kafka Stream version older than 2.3.x, please check <a href="/39/documentation/streams/upgrade-guide">3.9 upgrade document</a>.</p>
<table border="1" class="non-scrolling-table docutils">
<thead>
<tr>
<th></th>
- <th colspan="5">Kafka Broker (columns)</th>
+ <th colspan="2">Kafka Broker (columns)</th>
</tr>
</thead>
<tbody>
<tr>
<td>Kafka Streams API (rows)</td>
- <td>0.10.0.x</td>
- <td>0.10.1.x and 0.10.2.x</td>
- <td>0.11.0.x and<br>1.0.x and<br>1.1.x and<br>2.0.x</td>
<td>2.1.x and<br>2.2.x and<br>2.3.x and<br>2.4.x and<br>2.5.x and<br>2.6.x and<br>2.7.x and<br>2.8.x and<br>3.0.x and<br>3.1.x and<br>3.2.x and<br>3.3.x and<br>3.4.x and<br>3.5.x and<br>3.6.x and<br>3.7.x and<br>3.8.x and<br>3.9.x</td>
<td>4.0.x</td>
</tr>
<tr>
- <td>0.10.0.x</td>
+ <td>2.4.x and<br>2.5.x</td>
+ <td>compatible with exactly-once v2 turned off</td>
Review Comment:
2.4.x and 2.5.x do not have EOSv2 -- so this is confusing... There is nothing to be turned on/off -- EOSv2 was only added in 2.6.0 release.
--
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: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] KAFKA-18915: Enter incompatible instead of leaving incompatible entires blank in Kafka Streams broker compatibility matrix [kafka]
Posted by "mjsax (via GitHub)" <gi...@apache.org>.
mjsax commented on PR #18258:
URL: https://github.com/apache/kafka/pull/18258#issuecomment-2556020596
Also the cell for `2.1.x / .. / 3 .9.x brokers` and `2.1.x / .. / 3 .9.x KS` seems to be incorrect (even if this was done by the previous PR). I should point out that EOSv2 requires broker version 2.5+. -- This make we wonder, if we should split out an additional rage for KS from `2.1.x / ... / 2.5.x` -- these versions only have EOSv1 and would not need this statement?
--
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: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] KAFKA-18195: Enter incompatible instead of leaving incompatible entires blank in Kafka Streams broker compatibility matrix [kafka]
Posted by "mjsax (via GitHub)" <gi...@apache.org>.
mjsax commented on code in PR #18258:
URL: https://github.com/apache/kafka/pull/18258#discussion_r1984233834
##########
docs/streams/upgrade-guide.html:
##########
@@ -1735,73 +1735,38 @@ <h3 class="anchor-heading"><a id="streams_api_changes_0101" class="anchor-link">
<h3 class="anchor-heading"><a id="streams_api_broker_compat" class="anchor-link"></a><a href="#streams_api_broker_compat">Streams API broker compatibility</a></h3>
- <p>The following table shows which versions of the Kafka Streams API are compatible with various Kafka broker versions.</p>
+ <p>The following table shows which versions of the Kafka Streams API are compatible with various Kafka broker versions. For Kafka Stream version older than 2.3.x, please check <a href="/39/documentation/streams/upgrade-guide">3.9 upgrade document</a>.</p>
<table border="1" class="non-scrolling-table docutils">
<thead>
<tr>
<th></th>
- <th colspan="5">Kafka Broker (columns)</th>
+ <th colspan="2">Kafka Broker (columns)</th>
</tr>
</thead>
<tbody>
<tr>
<td>Kafka Streams API (rows)</td>
- <td>0.10.0.x</td>
- <td>0.10.1.x and 0.10.2.x</td>
- <td>0.11.0.x and<br>1.0.x and<br>1.1.x and<br>2.0.x</td>
<td>2.1.x and<br>2.2.x and<br>2.3.x and<br>2.4.x and<br>2.5.x and<br>2.6.x and<br>2.7.x and<br>2.8.x and<br>3.0.x and<br>3.1.x and<br>3.2.x and<br>3.3.x and<br>3.4.x and<br>3.5.x and<br>3.6.x and<br>3.7.x and<br>3.8.x and<br>3.9.x</td>
<td>4.0.x</td>
</tr>
<tr>
- <td>0.10.0.x</td>
+ <td>2.4.x and<br>2.5.x</td>
+ <td>compatible with exactly-once v2 turned off</td>
<td>compatible</td>
- <td>compatible</td>
- <td>compatible</td>
- <td>compatible</td>
- <td></td>
</tr>
<tr>
- <td>0.10.1.x and 0.10.2.x</td>
- <td></td>
- <td>compatible</td>
- <td>compatible</td>
- <td>compatible</td>
- <td></td>
- </tr>
- <tr>
- <td>0.11.0.x</td>
- <td></td>
- <td>compatible with exactly-once turned off<br>(requires broker version 0.11.0.x or higher)</td>
- <td>compatible</td>
- <td></td>
- </tr>
- <tr>
- <td>1.0.x and<br>1.1.x and<br>2.0.x and<br>2.1.x and<br>2.2.0 and<br>2.2.0</td>
- <td></td>
- <td>compatible with exactly-once turned off<br>(requires broker version 0.11.0.x or higher);<br>requires message format 0.10 or higher;<br>message headers are not supported<br>(requires broker version 0.11.0.x or higher<br>with message format 0.11 or higher)</td>
- <td>compatible; requires message format 0.10 or higher;<br>if message headers are used, message format 0.11<br>or higher required</td>
- <td>compatible</td>
- <td></td>
- </tr>
- <tr>
- <td>2.2.1 and<br>2.3.x and<br>2.4.x and<br>2.5.x and<br>2.6.x and<br>2.7.x and<br>2.8.x and<br>3.0.x and<br>3.1.x and<br>3.2.x and<br>3.3.x and<br>3.4.x and<br>3.5.x and<br>3.6.x and<br>3.7.x and<br>3.8.x and<br>3.9.x</td>
- <td></td>
- <td></td>
- <td>compatible; requires message format 0.11 or higher;<br>enabling exactly-once v2 requires 2.5.x or higher</td>
+ <td>2.6.x and<br>2.7.x and<br>2.8.x and<br>3.0.x and<br>3.1.x and<br>3.2.x and<br>3.3.x and<br>3.4.x and<br>3.5.x and<br>3.6.x and<br>3.7.x and<br>3.8.x and<br>3.9.x</td>
+ <td>compatible; enabling exactly-once v2 requires broker version 2.5.x or higher</td>
<td>compatible</td>
- <td></td>
</tr>
<tr>
<td>4.0.x</td>
- <td></td>
- <td></td>
- <td></td>
- <td>compatible; enabling exactly-once v2 requires broker version 2.5.x or higher</td>
+ <td>compatible</td>
Review Comment:
Given that KS 4.0.x does not include EOSv1 any longer, we should also call this out? KS 4.0 with EOSv2 does require broker 2.5+ too.
Given that we don't have EOSv1 in KS 4.0 any longer, we could say "enabling exactly-once requires broker version 2.5.x or higher" (ie, drop the `v2` thing).
Or: we just merge 4.0 row with `2.6.x - 3.9.x` row?
--
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: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] KAFKA-18195: Enter incompatible instead of leaving incompatible entires blank in Kafka Streams broker compatibility matrix [kafka]
Posted by "FrankYang0529 (via GitHub)" <gi...@apache.org>.
FrankYang0529 commented on code in PR #18258:
URL: https://github.com/apache/kafka/pull/18258#discussion_r1987327665
##########
docs/streams/upgrade-guide.html:
##########
@@ -1735,73 +1735,38 @@ <h3 class="anchor-heading"><a id="streams_api_changes_0101" class="anchor-link">
<h3 class="anchor-heading"><a id="streams_api_broker_compat" class="anchor-link"></a><a href="#streams_api_broker_compat">Streams API broker compatibility</a></h3>
- <p>The following table shows which versions of the Kafka Streams API are compatible with various Kafka broker versions.</p>
+ <p>The following table shows which versions of the Kafka Streams API are compatible with various Kafka broker versions. For Kafka Stream version older than 2.3.x, please check <a href="/39/documentation/streams/upgrade-guide">3.9 upgrade document</a>.</p>
<table border="1" class="non-scrolling-table docutils">
<thead>
<tr>
<th></th>
- <th colspan="5">Kafka Broker (columns)</th>
+ <th colspan="2">Kafka Broker (columns)</th>
</tr>
</thead>
<tbody>
<tr>
<td>Kafka Streams API (rows)</td>
- <td>0.10.0.x</td>
- <td>0.10.1.x and 0.10.2.x</td>
- <td>0.11.0.x and<br>1.0.x and<br>1.1.x and<br>2.0.x</td>
<td>2.1.x and<br>2.2.x and<br>2.3.x and<br>2.4.x and<br>2.5.x and<br>2.6.x and<br>2.7.x and<br>2.8.x and<br>3.0.x and<br>3.1.x and<br>3.2.x and<br>3.3.x and<br>3.4.x and<br>3.5.x and<br>3.6.x and<br>3.7.x and<br>3.8.x and<br>3.9.x</td>
<td>4.0.x</td>
</tr>
<tr>
- <td>0.10.0.x</td>
+ <td>2.4.x and<br>2.5.x</td>
+ <td>compatible with exactly-once v2 turned off</td>
<td>compatible</td>
- <td>compatible</td>
- <td>compatible</td>
- <td>compatible</td>
- <td></td>
</tr>
<tr>
- <td>0.10.1.x and 0.10.2.x</td>
- <td></td>
- <td>compatible</td>
- <td>compatible</td>
- <td>compatible</td>
- <td></td>
- </tr>
- <tr>
- <td>0.11.0.x</td>
- <td></td>
- <td>compatible with exactly-once turned off<br>(requires broker version 0.11.0.x or higher)</td>
- <td>compatible</td>
- <td></td>
- </tr>
- <tr>
- <td>1.0.x and<br>1.1.x and<br>2.0.x and<br>2.1.x and<br>2.2.0 and<br>2.2.0</td>
- <td></td>
- <td>compatible with exactly-once turned off<br>(requires broker version 0.11.0.x or higher);<br>requires message format 0.10 or higher;<br>message headers are not supported<br>(requires broker version 0.11.0.x or higher<br>with message format 0.11 or higher)</td>
- <td>compatible; requires message format 0.10 or higher;<br>if message headers are used, message format 0.11<br>or higher required</td>
- <td>compatible</td>
- <td></td>
- </tr>
- <tr>
- <td>2.2.1 and<br>2.3.x and<br>2.4.x and<br>2.5.x and<br>2.6.x and<br>2.7.x and<br>2.8.x and<br>3.0.x and<br>3.1.x and<br>3.2.x and<br>3.3.x and<br>3.4.x and<br>3.5.x and<br>3.6.x and<br>3.7.x and<br>3.8.x and<br>3.9.x</td>
- <td></td>
- <td></td>
- <td>compatible; requires message format 0.11 or higher;<br>enabling exactly-once v2 requires 2.5.x or higher</td>
+ <td>2.6.x and<br>2.7.x and<br>2.8.x and<br>3.0.x and<br>3.1.x and<br>3.2.x and<br>3.3.x and<br>3.4.x and<br>3.5.x and<br>3.6.x and<br>3.7.x and<br>3.8.x and<br>3.9.x</td>
+ <td>compatible; enabling exactly-once v2 requires broker version 2.5.x or higher</td>
<td>compatible</td>
- <td></td>
</tr>
<tr>
<td>4.0.x</td>
- <td></td>
- <td></td>
- <td></td>
- <td>compatible; enabling exactly-once v2 requires broker version 2.5.x or higher</td>
+ <td>compatible</td>
Review Comment:
Sorry for late update. I merge 4.0 to `2.6.x - 3.9.x`, so we don't need to update the description. Thanks.

--
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: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] KAFKA-18915: Enter incompatible instead of leaving incompatible entires blank in Kafka Streams broker compatibility matrix [kafka]
Posted by "mjsax (via GitHub)" <gi...@apache.org>.
mjsax commented on PR #18258:
URL: https://github.com/apache/kafka/pull/18258#issuecomment-2556021569
Alos, Kafka Streams 0.10.0 (and all other older version) should be compatible to newer brokers, right (except 4.0, for which we remove older RPC versions, and thus only KS 2.1+ would work with 4.0 brokers).
--
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: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] KAFKA-18195: Fix Kafka Streams broker compatibility matrix [kafka]
Posted by "mjsax (via GitHub)" <gi...@apache.org>.
mjsax merged PR #18258:
URL: https://github.com/apache/kafka/pull/18258
--
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: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] KAFKA-18195: Enter incompatible instead of leaving incompatible entires blank in Kafka Streams broker compatibility matrix [kafka]
Posted by "mjsax (via GitHub)" <gi...@apache.org>.
mjsax commented on code in PR #18258:
URL: https://github.com/apache/kafka/pull/18258#discussion_r1984230751
##########
docs/streams/upgrade-guide.html:
##########
@@ -1735,73 +1735,38 @@ <h3 class="anchor-heading"><a id="streams_api_changes_0101" class="anchor-link">
<h3 class="anchor-heading"><a id="streams_api_broker_compat" class="anchor-link"></a><a href="#streams_api_broker_compat">Streams API broker compatibility</a></h3>
- <p>The following table shows which versions of the Kafka Streams API are compatible with various Kafka broker versions.</p>
+ <p>The following table shows which versions of the Kafka Streams API are compatible with various Kafka broker versions. For Kafka Stream version older than 2.3.x, please check <a href="/39/documentation/streams/upgrade-guide">3.9 upgrade document</a>.</p>
<table border="1" class="non-scrolling-table docutils">
<thead>
<tr>
<th></th>
- <th colspan="5">Kafka Broker (columns)</th>
+ <th colspan="2">Kafka Broker (columns)</th>
</tr>
</thead>
<tbody>
<tr>
<td>Kafka Streams API (rows)</td>
- <td>0.10.0.x</td>
- <td>0.10.1.x and 0.10.2.x</td>
- <td>0.11.0.x and<br>1.0.x and<br>1.1.x and<br>2.0.x</td>
<td>2.1.x and<br>2.2.x and<br>2.3.x and<br>2.4.x and<br>2.5.x and<br>2.6.x and<br>2.7.x and<br>2.8.x and<br>3.0.x and<br>3.1.x and<br>3.2.x and<br>3.3.x and<br>3.4.x and<br>3.5.x and<br>3.6.x and<br>3.7.x and<br>3.8.x and<br>3.9.x</td>
<td>4.0.x</td>
</tr>
<tr>
- <td>0.10.0.x</td>
+ <td>2.4.x and<br>2.5.x</td>
+ <td>compatible with exactly-once v2 turned off</td>
Review Comment:
2.4.x and 2.5.x do not have EOSv2 -- so this is confusing... There is nothing to be turned on/off -- EOSv2 was only added in 2.6.0 release.
So it might be easier to just say "compatible" ?
--
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: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] KAFKA-18915: Enter incompatible instead of leaving incompatible entires blank in Kafka Streams broker compatibility matrix [kafka]
Posted by "FrankYang0529 (via GitHub)" <gi...@apache.org>.
FrankYang0529 commented on PR #18258:
URL: https://github.com/apache/kafka/pull/18258#issuecomment-2558323583
Hi @mjsax, thanks for the review. I follow the suggestion to update a version. Could you take a look when you have time? Thank you.
<img width="319" alt="Screenshot 2024-12-22 at 12 02 26 PM" src="https://github.com/user-attachments/assets/bfd9de9b-ea76-4895-8094-f8ed7e57d848" />
--
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: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] KAFKA-18915: Enter incompatible instead of leaving incompatible entires blank in Kafka Streams broker compatibility matrix [kafka]
Posted by "mjsax (via GitHub)" <gi...@apache.org>.
mjsax commented on PR #18258:
URL: https://github.com/apache/kafka/pull/18258#issuecomment-2695920939
Seems we are getting close to vote KIP-1124. Might be good to start updating this PR?
I think, we should cut down the matrix to simplify it and only include broker versions 2.1.x to 4.0.x and KS versions 2.3.x to 4.0.x? And refer to 3.9 docs (with a link) for older versions?
--
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: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] KAFKA-18195: Enter incompatible instead of leaving incompatible entires blank in Kafka Streams broker compatibility matrix [kafka]
Posted by "mjsax (via GitHub)" <gi...@apache.org>.
mjsax commented on PR #18258:
URL: https://github.com/apache/kafka/pull/18258#issuecomment-2705236050
Ah, yes, 2.4... my bad :)
--
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: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] KAFKA-18195: Fix Kafka Streams broker compatibility matrix [kafka]
Posted by "mjsax (via GitHub)" <gi...@apache.org>.
mjsax commented on PR #18258:
URL: https://github.com/apache/kafka/pull/18258#issuecomment-2716159425
Thanks for the PR. Merged to `trunk` and cherry-picked to `4.0` branch.
--
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: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] KAFKA-18915: Enter incompatible instead of leaving incompatible entires blank in Kafka Streams broker compatibility matrix [kafka]
Posted by "mjsax (via GitHub)" <gi...@apache.org>.
mjsax commented on PR #18258:
URL: https://github.com/apache/kafka/pull/18258#issuecomment-2556017540
The KS column does not seem to be correct? KS 4.0 is compatible to brokers 2.1+ or newer...
--
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: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] KAFKA-18195: Enter incompatible instead of leaving incompatible entires blank in Kafka Streams broker compatibility matrix [kafka]
Posted by "FrankYang0529 (via GitHub)" <gi...@apache.org>.
FrankYang0529 commented on PR #18258:
URL: https://github.com/apache/kafka/pull/18258#issuecomment-2701078180
Hi @mjsax, thanks for the comment. Not sure whether KS version 2.3.x is typo. From [KIP-1124](https://cwiki.apache.org/confluence/display/KAFKA/KIP-1124%3A+Providing+a+clear+Kafka+Client+upgrade+path+for+4.x) and [streams_upgrade_test.py](https://github.com/apache/kafka/blob/6ecf6817ad3fcfc91f3d35caaf4ea37d1f83f9fa/tests/kafkatest/tests/streams/streams_upgrade_test.py#L30-L37), the lowest KS version is v2.4.x.

--
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: jira-unsubscribe@kafka.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org