kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cmcc...@apache.org
Subject [kafka] branch trunk updated: MINOR: Fix some field definitions for ListOffsetReponse (#6214)
Date Fri, 01 Feb 2019 22:21:44 GMT
This is an automated email from the ASF dual-hosted git repository.

cmccabe 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 2ca54cf  MINOR: Fix some field definitions for ListOffsetReponse (#6214)
2ca54cf is described below

commit 2ca54cfd33a98d7f2d1834a7fbe55525776efa7e
Author: Colin Patrick McCabe <colin@cmccabe.xyz>
AuthorDate: Fri Feb 1 14:21:35 2019 -0800

    MINOR: Fix some field definitions for ListOffsetReponse (#6214)
    
    Reviewers: Jun Rao <junrao@gmail.com>
---
 clients/src/main/resources/common/message/ListOffsetResponse.json | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/clients/src/main/resources/common/message/ListOffsetResponse.json b/clients/src/main/resources/common/message/ListOffsetResponse.json
index 36935da..9476a19 100644
--- a/clients/src/main/resources/common/message/ListOffsetResponse.json
+++ b/clients/src/main/resources/common/message/ListOffsetResponse.json
@@ -39,9 +39,10 @@
           "about": "The partition error code, or 0 if there was no error." },
         { "name": "OldStyleOffsets", "type": "[]int64", "versions": "0", "ignorable": false,
           "about": "The result offsets." },
-        { "name": "Timestamp", "type": "int64", "versions": "1+" },
-        { "name": "Offset", "type": "int64", "versions": "1+",
+        { "name": "Timestamp", "type": "int64", "versions": "1+", "default": "-1", "ignorable":
false,
           "about": "The timestamp associated with the returned offset." },
+        { "name": "Offset", "type": "int64", "versions": "1+", "default": "-1", "ignorable":
false,
+          "about": "The returned offset." },
         { "name": "LeaderEpoch", "type": "int32", "versions": "4+" }
       ]}
     ]}


Mime
View raw message