You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "ijuma (via GitHub)" <gi...@apache.org> on 2025/02/26 03:41:35 UTC
[PR] MINOR: Remove old message format documentation [kafka]
ijuma opened a new pull request, #19033:
URL: https://github.com/apache/kafka/pull/19033
Link to the older version of the documentation for people who care.
--
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] MINOR: Remove old message format documentation [kafka]
Posted by "ijuma (via GitHub)" <gi...@apache.org>.
ijuma commented on code in PR #19033:
URL: https://github.com/apache/kafka/pull/19033#discussion_r1971831709
##########
docs/implementation.html:
##########
@@ -103,67 +103,8 @@ <h5 class="anchor-heading"><a id="recordheader" class="anchor-link"></a><a href=
<h4 class="anchor-heading"><a id="messageset" class="anchor-link"></a><a href="#messageset">5.3.3 Old Message Format</a></h4>
<p>
- Prior to Kafka 0.11, messages were transferred and stored in <i>message sets</i>. In a message set, each message has its own metadata. Note that although message sets are represented as an array,
- they are not preceded by an int32 array size like other array elements in the protocol.
+ Prior to Kafka 0.11, messages were transferred and stored in <i>message sets</i>. See <a href="https://kafka.apache.org/39/documentation/#messageset">Old Message Format</a> for more details.
Review Comment:
Right, the KIP covers the edge cases in detail and is linked from the 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] MINOR: Remove old message format documentation [kafka]
Posted by "chia7712 (via GitHub)" <gi...@apache.org>.
chia7712 commented on code in PR #19033:
URL: https://github.com/apache/kafka/pull/19033#discussion_r1971054065
##########
docs/implementation.html:
##########
@@ -103,67 +103,8 @@ <h5 class="anchor-heading"><a id="recordheader" class="anchor-link"></a><a href=
<h4 class="anchor-heading"><a id="messageset" class="anchor-link"></a><a href="#messageset">5.3.3 Old Message Format</a></h4>
<p>
- Prior to Kafka 0.11, messages were transferred and stored in <i>message sets</i>. In a message set, each message has its own metadata. Note that although message sets are represented as an array,
- they are not preceded by an int32 array size like other array elements in the protocol.
+ Prior to Kafka 0.11, messages were transferred and stored in <i>message sets</i>. See <a href="https://kafka.apache.org/39/documentation/#messageset">Old Message Format</a> for more details.
Review Comment:
Yes, that is an edge case. Also, when I googled the keywords "kafka 4.x message v0," KIP-724 appeared in the results. I believe users can refer to KIP-724 for the answer. Therefore, I agree that we don't need to add such documentation.
--
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] MINOR: Remove old message format documentation [kafka]
Posted by "ijuma (via GitHub)" <gi...@apache.org>.
ijuma commented on code in PR #19033:
URL: https://github.com/apache/kafka/pull/19033#discussion_r1970992722
##########
docs/implementation.html:
##########
@@ -103,67 +103,8 @@ <h5 class="anchor-heading"><a id="recordheader" class="anchor-link"></a><a href=
<h4 class="anchor-heading"><a id="messageset" class="anchor-link"></a><a href="#messageset">5.3.3 Old Message Format</a></h4>
<p>
- Prior to Kafka 0.11, messages were transferred and stored in <i>message sets</i>. In a message set, each message has its own metadata. Note that although message sets are represented as an array,
- they are not preceded by an int32 array size like other array elements in the protocol.
+ Prior to Kafka 0.11, messages were transferred and stored in <i>message sets</i>. See <a href="https://kafka.apache.org/39/documentation/#messageset">Old Message Format</a> for more details.
Review Comment:
I debated that, but it seems like a very specific edge case and probably doesn't matter enough to add here. The only way this can happen is if you upgrade from an older version where the IBP was older than 3.0 and message format was set to v0/v1 and the topic was compacted without a deletion policy.
--
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] MINOR: Remove old message format documentation [kafka]
Posted by "ijuma (via GitHub)" <gi...@apache.org>.
ijuma commented on PR #19033:
URL: https://github.com/apache/kafka/pull/19033#issuecomment-2685752393
Cherry-picked to 4.0 as well.
--
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] MINOR: Remove old message format documentation [kafka]
Posted by "ijuma (via GitHub)" <gi...@apache.org>.
ijuma merged PR #19033:
URL: https://github.com/apache/kafka/pull/19033
--
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] MINOR: Remove old message format documentation [kafka]
Posted by "chia7712 (via GitHub)" <gi...@apache.org>.
chia7712 commented on code in PR #19033:
URL: https://github.com/apache/kafka/pull/19033#discussion_r1970972098
##########
docs/implementation.html:
##########
@@ -103,67 +103,8 @@ <h5 class="anchor-heading"><a id="recordheader" class="anchor-link"></a><a href=
<h4 class="anchor-heading"><a id="messageset" class="anchor-link"></a><a href="#messageset">5.3.3 Old Message Format</a></h4>
<p>
- Prior to Kafka 0.11, messages were transferred and stored in <i>message sets</i>. In a message set, each message has its own metadata. Note that although message sets are represented as an array,
- they are not preceded by an int32 array size like other array elements in the protocol.
+ Prior to Kafka 0.11, messages were transferred and stored in <i>message sets</i>. See <a href="https://kafka.apache.org/39/documentation/#messageset">Old Message Format</a> for more details.
Review Comment:
Should we document that users cannot write to v0/v1, but reading is permitted?
--
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