GET /streams/{string: stream_name}/topics
Retrieves a list of topics in a given stream.
Description
Stream names contain characters such as backslashs (/) and colons (:) and, therefore, should be encoded.
Parameters | Description |
---|---|
stream_name (string) | The name of the stream. |
Syntax
http://<host>:8082/streams/<stream_name>/topics
Request Example
curl -X GET -H "Content-Type: application/vnd.kafka.v2+json"
http://localhost:8082/streams/%2Fstreaming_data%2Fstream/topics
Response Example
[
"/streaming_data/stream:testtopic1",
"/streaming_data/stream:testtopic2"
]