Skip to content

Commit fab52ca

Browse files
authored
Merge pull request #201948 from sreekzz/patch-64
Update rest-proxy.md
2 parents 5900fc2 + b4bdc97 commit fab52ca

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

articles/hdinsight/kafka/rest-proxy.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,8 @@ get_topic_api = 'metadata/topics'
149149
topic_api_format = 'topics/{topic_name}'
150150
producer_api_format = 'producer/topics/{topic_name}'
151151
consumer_api_format = 'consumer/topics/{topic_name}/partitions/{partition_id}/offsets/{offset}?count={count}' # by default count = 1
152+
partitions_api_format = 'topics/{topic_name}/partitions'
153+
partition_api_format = 'topics/{topic_name}/partitions/{partition_id}'
152154

153155
# Request header
154156
headers = {

0 commit comments

Comments
 (0)