You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by ij...@apache.org on 2024/12/21 02:39:24 UTC

(kafka) branch 3.7 updated (fe309afa9f8 -> 396c5d5d42b)

This is an automated email from the ASF dual-hosted git repository.

ijuma pushed a change to branch 3.7
in repository https://gitbox.apache.org/repos/asf/kafka.git


    from fe309afa9f8 MINOR: Update 3.7 branch version to 3.7.2-SNAPSHOT
     new e4713a9e7e3 KAFKA-18270: SaslHandshake v0 incorrectly tagged as deprecated (#18221)
     new c3c13ae40e0 KAFKA-18270: FindCoordinator v0 incorrectly tagged as deprecated (#18262)
     new 396c5d5d42b KAFKA-18334: Produce v4-v6 should be undeprecated (#18288)

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 clients/src/main/resources/common/message/FindCoordinatorRequest.json | 1 -
 clients/src/main/resources/common/message/ProduceRequest.json         | 2 +-
 clients/src/main/resources/common/message/SaslHandshakeRequest.json   | 1 -
 core/src/test/scala/unit/kafka/network/SocketServerTest.scala         | 2 +-
 4 files changed, 2 insertions(+), 4 deletions(-)


(kafka) 01/03: KAFKA-18270: SaslHandshake v0 incorrectly tagged as deprecated (#18221)

Posted by ij...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ijuma pushed a commit to branch 3.7
in repository https://gitbox.apache.org/repos/asf/kafka.git

commit e4713a9e7e392ee21e9dc6d4a87a7fd7be8bbda5
Author: Ismael Juma <is...@juma.me.uk>
AuthorDate: Mon Dec 16 20:52:30 2024 -0800

    KAFKA-18270: SaslHandshake v0 incorrectly tagged as deprecated (#18221)
    
    It's now consistent with KIP-896.
    
    Reviewers: David Arthur <mu...@gmail.com>
---
 clients/src/main/resources/common/message/SaslHandshakeRequest.json | 1 -
 1 file changed, 1 deletion(-)

diff --git a/clients/src/main/resources/common/message/SaslHandshakeRequest.json b/clients/src/main/resources/common/message/SaslHandshakeRequest.json
index 3339f6a7afd..a370a80df39 100644
--- a/clients/src/main/resources/common/message/SaslHandshakeRequest.json
+++ b/clients/src/main/resources/common/message/SaslHandshakeRequest.json
@@ -23,7 +23,6 @@
   // client negotiation for clients <= 2.4.
   // See https://issues.apache.org/jira/browse/KAFKA-9577
   "validVersions": "0-1",
-  "deprecatedVersions": "0",
   "flexibleVersions": "none",
   "fields": [
     { "name": "Mechanism", "type": "string", "versions": "0+",


(kafka) 03/03: KAFKA-18334: Produce v4-v6 should be undeprecated (#18288)

Posted by ij...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ijuma pushed a commit to branch 3.7
in repository https://gitbox.apache.org/repos/asf/kafka.git

commit 396c5d5d42baa9fd32cf9f38d6095f1133f300fb
Author: Ismael Juma <is...@juma.me.uk>
AuthorDate: Fri Dec 20 16:59:51 2024 -0800

    KAFKA-18334: Produce v4-v6 should be undeprecated (#18288)
    
    Librdkafka totally breaks if produce v3 is removed - it starts sending records with record format v0.
    These api versions have to be undeprecated - KIP-896 has been updated.
    
    Reviewers: David Arthur <mu...@gmail.com>
---
 clients/src/main/resources/common/message/ProduceRequest.json | 2 +-
 core/src/test/scala/unit/kafka/network/SocketServerTest.scala | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/clients/src/main/resources/common/message/ProduceRequest.json b/clients/src/main/resources/common/message/ProduceRequest.json
index 3451a8471df..d49662f91b0 100644
--- a/clients/src/main/resources/common/message/ProduceRequest.json
+++ b/clients/src/main/resources/common/message/ProduceRequest.json
@@ -36,7 +36,7 @@
   //
   // Version 10 is the same as version 9 (KIP-951).
   "validVersions": "0-10",
-  "deprecatedVersions": "0-6",
+  "deprecatedVersions": "0-2",
   "flexibleVersions": "9+",
   "fields": [
     { "name": "TransactionalId", "type": "string", "versions": "3+", "nullableVersions": "3+", "default": "null", "entityType": "transactionalId",
diff --git a/core/src/test/scala/unit/kafka/network/SocketServerTest.scala b/core/src/test/scala/unit/kafka/network/SocketServerTest.scala
index c9c9ca0ffbb..b47aac95f94 100644
--- a/core/src/test/scala/unit/kafka/network/SocketServerTest.scala
+++ b/core/src/test/scala/unit/kafka/network/SocketServerTest.scala
@@ -339,7 +339,7 @@ class SocketServerTest {
     assertTrue(requestsPerSec(requestVersion).getOrElse(0L) > 0, "RequestsPerSec should be higher than 0")
     assertEquals(None, deprecatedRequestsPerSec(requestVersion))
 
-    requestVersion = 3
+    requestVersion = 2
     sendRequest(plainSocket, producerRequestBytes(requestVersion))
     receivedReq = receiveRequest(server.dataPlaneRequestChannel)
     server.dataPlaneRequestChannel.sendNoOpResponse(receivedReq)


(kafka) 02/03: KAFKA-18270: FindCoordinator v0 incorrectly tagged as deprecated (#18262)

Posted by ij...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ijuma pushed a commit to branch 3.7
in repository https://gitbox.apache.org/repos/asf/kafka.git

commit c3c13ae40e0d8df34185cc83600667e825fc2b8f
Author: Ismael Juma <is...@juma.me.uk>
AuthorDate: Thu Dec 19 06:25:17 2024 -0800

    KAFKA-18270: FindCoordinator v0 incorrectly tagged as deprecated (#18262)
    
    It's now consistent with KIP-896.
---
 clients/src/main/resources/common/message/FindCoordinatorRequest.json | 1 -
 1 file changed, 1 deletion(-)

diff --git a/clients/src/main/resources/common/message/FindCoordinatorRequest.json b/clients/src/main/resources/common/message/FindCoordinatorRequest.json
index 49ae7e92f0b..a475cc27866 100644
--- a/clients/src/main/resources/common/message/FindCoordinatorRequest.json
+++ b/clients/src/main/resources/common/message/FindCoordinatorRequest.json
@@ -26,7 +26,6 @@
   //
   // Version 4 adds support for batching via CoordinatorKeys (KIP-699)
   "validVersions": "0-4",
-  "deprecatedVersions": "0",
   "flexibleVersions": "3+",
   "fields": [
     { "name": "Key", "type": "string", "versions": "0-3",