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

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


The following commit(s) were added to refs/heads/trunk by this push:
     new 806baad52bf MINOR: Fix typos in RPC files (#20800)
806baad52bf is described below

commit 806baad52bfe09e5585c72cc9fc74aa8b7e58f62
Author: Sanskar Jhajharia <[email protected]>
AuthorDate: Sun Nov 2 16:41:07 2025 +0530

    MINOR: Fix typos in RPC files (#20800)
    
    There are some minor typos in our RPC jsons. The PR fixes the same for
    consistency.
    
    Reviewers: Andrew Schofield <[email protected]>, Chia-Ping Tsai
    <[email protected]>
---
 .../common/message/AllocateProducerIdsRequest.json         |  2 +-
 .../resources/common/message/AlterPartitionRequest.json    |  2 +-
 .../common/message/AlterShareGroupOffsetsResponse.json     | 14 ++++++++++++++
 .../resources/common/message/DescribeQuorumResponse.json   |  2 +-
 .../resources/common/message/InitProducerIdRequest.json    |  2 +-
 .../resources/common/message/ShareAcknowledgeRequest.json  |  2 +-
 .../resources/common/message/ShareAcknowledgeResponse.json |  2 +-
 .../main/resources/common/message/ShareFetchRequest.json   |  2 +-
 .../main/resources/common/message/ShareFetchResponse.json  |  2 +-
 .../common/message/ShareGroupDescribeRequest.json          |  2 +-
 .../common/message/ShareGroupDescribeResponse.json         |  2 +-
 .../common/message/ShareGroupHeartbeatRequest.json         |  2 +-
 .../common/message/ShareGroupHeartbeatResponse.json        |  2 +-
 13 files changed, 26 insertions(+), 12 deletions(-)

diff --git 
a/clients/src/main/resources/common/message/AllocateProducerIdsRequest.json 
b/clients/src/main/resources/common/message/AllocateProducerIdsRequest.json
index 9447b080f84..60606934c34 100644
--- a/clients/src/main/resources/common/message/AllocateProducerIdsRequest.json
+++ b/clients/src/main/resources/common/message/AllocateProducerIdsRequest.json
@@ -9,7 +9,7 @@
 //
 // Unless required by applicable law or agreed to in writing, software
 // distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implie
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
diff --git 
a/clients/src/main/resources/common/message/AlterPartitionRequest.json 
b/clients/src/main/resources/common/message/AlterPartitionRequest.json
index fa8d318e5c9..e9ef10c47f8 100644
--- a/clients/src/main/resources/common/message/AlterPartitionRequest.json
+++ b/clients/src/main/resources/common/message/AlterPartitionRequest.json
@@ -9,7 +9,7 @@
 //
 // Unless required by applicable law or agreed to in writing, software
 // distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implie
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 // See the License for the specific language governing permissions and
 // limitations under the License.
 
diff --git 
a/clients/src/main/resources/common/message/AlterShareGroupOffsetsResponse.json 
b/clients/src/main/resources/common/message/AlterShareGroupOffsetsResponse.json
index c657d90fc72..2a6fafd92b7 100644
--- 
a/clients/src/main/resources/common/message/AlterShareGroupOffsetsResponse.json
+++ 
b/clients/src/main/resources/common/message/AlterShareGroupOffsetsResponse.json
@@ -1,3 +1,17 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements.  See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License.  You may obtain a copy of the License at
+//
+//    http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
 
 {
   "apiKey": 91,
diff --git 
a/clients/src/main/resources/common/message/DescribeQuorumResponse.json 
b/clients/src/main/resources/common/message/DescribeQuorumResponse.json
index 18b6bc32ce0..b5b51d1a728 100644
--- a/clients/src/main/resources/common/message/DescribeQuorumResponse.json
+++ b/clients/src/main/resources/common/message/DescribeQuorumResponse.json
@@ -18,7 +18,7 @@
   "type": "response",
   "name": "DescribeQuorumResponse",
   // Version 1 adds LastFetchTimeStamp and LastCaughtUpTimestamp in 
ReplicaState (KIP-836).
-  // Version 2 adds ErrorMessage, Nodes, ErrorMessage in ParitionData, 
ReplicaDirectoryId in ReplicaState (KIP-853).
+  // Version 2 adds ErrorMessage, Nodes, ErrorMessage in PartitionData, 
ReplicaDirectoryId in ReplicaState (KIP-853).
   "validVersions": "0-2",
   "flexibleVersions": "0+",
   "fields": [
diff --git 
a/clients/src/main/resources/common/message/InitProducerIdRequest.json 
b/clients/src/main/resources/common/message/InitProducerIdRequest.json
index 5a056db520f..e8ab48b399b 100644
--- a/clients/src/main/resources/common/message/InitProducerIdRequest.json
+++ b/clients/src/main/resources/common/message/InitProducerIdRequest.json
@@ -26,7 +26,7 @@
   //
   // Version 4 adds the support for new error code PRODUCER_FENCED.
   //
-  // Verison 5 adds support for new error code TRANSACTION_ABORTABLE (KIP-890).
+  // Version 5 adds support for new error code TRANSACTION_ABORTABLE (KIP-890).
   //
   // Version 6 adds support for 2PC (KIP-939).
   "latestVersionUnstable": true,
diff --git 
a/clients/src/main/resources/common/message/ShareAcknowledgeRequest.json 
b/clients/src/main/resources/common/message/ShareAcknowledgeRequest.json
index 78b8c140bcd..fd83140565c 100644
--- a/clients/src/main/resources/common/message/ShareAcknowledgeRequest.json
+++ b/clients/src/main/resources/common/message/ShareAcknowledgeRequest.json
@@ -18,7 +18,7 @@
   "type": "request",
   "listeners": ["broker"],
   "name": "ShareAcknowledgeRequest",
-  // Version 0 was used for early access of KIP-932 in Apache Kafka 4.0 but 
removed in Apacke Kafka 4.1.
+  // Version 0 was used for early access of KIP-932 in Apache Kafka 4.0 but 
removed in Apache Kafka 4.1.
   //
   // Version 1 is the initial stable version (KIP-932).
   //
diff --git 
a/clients/src/main/resources/common/message/ShareAcknowledgeResponse.json 
b/clients/src/main/resources/common/message/ShareAcknowledgeResponse.json
index 3ad91f9339b..786ee78eb8e 100644
--- a/clients/src/main/resources/common/message/ShareAcknowledgeResponse.json
+++ b/clients/src/main/resources/common/message/ShareAcknowledgeResponse.json
@@ -17,7 +17,7 @@
   "apiKey": 79,
   "type": "response",
   "name": "ShareAcknowledgeResponse",
-  // Version 0 was used for early access of KIP-932 in Apache Kafka 4.0 but 
removed in Apacke Kafka 4.1.
+  // Version 0 was used for early access of KIP-932 in Apache Kafka 4.0 but 
removed in Apache Kafka 4.1.
   //
   // Version 1 is the initial stable version (KIP-932).
   //
diff --git a/clients/src/main/resources/common/message/ShareFetchRequest.json 
b/clients/src/main/resources/common/message/ShareFetchRequest.json
index 092c2c6c259..efea0bb2b02 100644
--- a/clients/src/main/resources/common/message/ShareFetchRequest.json
+++ b/clients/src/main/resources/common/message/ShareFetchRequest.json
@@ -18,7 +18,7 @@
   "type": "request",
   "listeners": ["broker"],
   "name": "ShareFetchRequest",
-  // Version 0 was used for early access of KIP-932 in Apache Kafka 4.0 but 
removed in Apacke Kafka 4.1.
+  // Version 0 was used for early access of KIP-932 in Apache Kafka 4.0 but 
removed in Apache Kafka 4.1.
   //
   // Version 1 is the initial stable version (KIP-932).
   //
diff --git a/clients/src/main/resources/common/message/ShareFetchResponse.json 
b/clients/src/main/resources/common/message/ShareFetchResponse.json
index cb80d470b1e..8ddb0514fa6 100644
--- a/clients/src/main/resources/common/message/ShareFetchResponse.json
+++ b/clients/src/main/resources/common/message/ShareFetchResponse.json
@@ -17,7 +17,7 @@
   "apiKey": 78,
   "type": "response",
   "name": "ShareFetchResponse",
-  // Version 0 was used for early access of KIP-932 in Apache Kafka 4.0 but 
removed in Apacke Kafka 4.1.
+  // Version 0 was used for early access of KIP-932 in Apache Kafka 4.0 but 
removed in Apache Kafka 4.1.
   //
   // Version 1 is the initial stable version (KIP-932).
   //
diff --git 
a/clients/src/main/resources/common/message/ShareGroupDescribeRequest.json 
b/clients/src/main/resources/common/message/ShareGroupDescribeRequest.json
index 897b8bc7b2a..c717c87120e 100644
--- a/clients/src/main/resources/common/message/ShareGroupDescribeRequest.json
+++ b/clients/src/main/resources/common/message/ShareGroupDescribeRequest.json
@@ -18,7 +18,7 @@
   "type": "request",
   "listeners": ["broker"],
   "name": "ShareGroupDescribeRequest",
-  // Version 0 was used for early access of KIP-932 in Apache Kafka 4.0 but 
removed in Apacke Kafka 4.1.
+  // Version 0 was used for early access of KIP-932 in Apache Kafka 4.0 but 
removed in Apache Kafka 4.1.
   //
   // Version 1 is the initial stable version (KIP-932).
   "validVersions": "1",
diff --git 
a/clients/src/main/resources/common/message/ShareGroupDescribeResponse.json 
b/clients/src/main/resources/common/message/ShareGroupDescribeResponse.json
index 57595c1b51c..4afdba21500 100644
--- a/clients/src/main/resources/common/message/ShareGroupDescribeResponse.json
+++ b/clients/src/main/resources/common/message/ShareGroupDescribeResponse.json
@@ -17,7 +17,7 @@
   "apiKey": 77,
   "type": "response",
   "name": "ShareGroupDescribeResponse",
-  // Version 0 was used for early access of KIP-932 in Apache Kafka 4.0 but 
removed in Apacke Kafka 4.1.
+  // Version 0 was used for early access of KIP-932 in Apache Kafka 4.0 but 
removed in Apache Kafka 4.1.
   //
   // Version 1 is the initial stable version (KIP-932).
   "validVersions": "1",
diff --git 
a/clients/src/main/resources/common/message/ShareGroupHeartbeatRequest.json 
b/clients/src/main/resources/common/message/ShareGroupHeartbeatRequest.json
index 37d5d04efb2..161f14093e9 100644
--- a/clients/src/main/resources/common/message/ShareGroupHeartbeatRequest.json
+++ b/clients/src/main/resources/common/message/ShareGroupHeartbeatRequest.json
@@ -18,7 +18,7 @@
   "type": "request",
   "listeners": ["broker"],
   "name": "ShareGroupHeartbeatRequest",
-  // Version 0 was used for early access of KIP-932 in Apache Kafka 4.0 but 
removed in Apacke Kafka 4.1.
+  // Version 0 was used for early access of KIP-932 in Apache Kafka 4.0 but 
removed in Apache Kafka 4.1.
   //
   // Version 1 is the initial stable version (KIP-932).
   "validVersions": "1",
diff --git 
a/clients/src/main/resources/common/message/ShareGroupHeartbeatResponse.json 
b/clients/src/main/resources/common/message/ShareGroupHeartbeatResponse.json
index c12eb3dca20..941bfbd38c2 100644
--- a/clients/src/main/resources/common/message/ShareGroupHeartbeatResponse.json
+++ b/clients/src/main/resources/common/message/ShareGroupHeartbeatResponse.json
@@ -17,7 +17,7 @@
   "apiKey": 76,
   "type": "response",
   "name": "ShareGroupHeartbeatResponse",
-  // Version 0 was used for early access of KIP-932 in Apache Kafka 4.0 but 
removed in Apacke Kafka 4.1.
+  // Version 0 was used for early access of KIP-932 in Apache Kafka 4.0 but 
removed in Apache Kafka 4.1.
   //
   // Version 1 is the initial stable version (KIP-932).
   "validVersions": "1",

Reply via email to