Querying Stream Details
Initialize a DIS SDK client instance as instructed in Initializing a DIS SDK Client Instance.
The describeStream_sample.py file provides a code sample. Configure the following parameter in this file:
1 |
streamname = "dis-test1" #Name of an existing stream.
|
After configuring the parameter, run the describeStream_sample.py file to call describeStream_test by default.
1 2 |
200
{"status": "RUNNING", "stream_name": "dis-test1", "data_type": "BLOB", "has_more_partitions": false, "stream_type": "COMMON", "stream_id": "L84hxfES223eVrFyxiE", "retention_period": 168, "create_time": 1532423353637, "last_modified_time": 1532423354625, "partitions": [{"status": "ACTIVE", "hash_range": "[0 : 9223372036854775807]", "sequence_number_range": "[0 : 10]", "partition_id": "shardId-0000000000"}]}
|
Last Article: Querying a Dump List
Next Article: Querying Dump Details
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.