From 74c91a1c6c6cab9873cdaf6820c8ef4d08e5bb30 Mon Sep 17 00:00:00 2001 From: jihwang0709 <47871341+jihwang0709@users.noreply.github.com> Date: Wed, 4 Mar 2020 15:13:29 -0800 Subject: [PATCH] Update proxy.json Update Kafka REST proxy consumer API response in swagger spec - add timestamp and timestampType in ConsumeRecord --- .../hdinsight/hdinsight-kafka-rest-proxy/proxy.json | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/specification/hdinsight/hdinsight-kafka-rest-proxy/proxy.json b/specification/hdinsight/hdinsight-kafka-rest-proxy/proxy.json index d09da2b64632..b36831cb27a7 100644 --- a/specification/hdinsight/hdinsight-kafka-rest-proxy/proxy.json +++ b/specification/hdinsight/hdinsight-kafka-rest-proxy/proxy.json @@ -478,6 +478,17 @@ "format": "int64", "description": "Offset for consumer record", "readOnly": true + }, + "timestamp": { + "type": "integer", + "format": "int64", + "description": "Timestamp for consumer record", + "readOnly": true + }, + "timestampType": { + "type": "string", + "description": "Timestamp type for consumer record such as log append time or create time", + "readOnly": true } }, "description": "List of consumer records"