Querying Dump Details
Initialize a DIS SDK client instance as instructed in Initializing a DIS SDK Client Instance.
The describe_dump_task_sample.py file provides a code sample. Configure the following parameters in this file:
1 2 | streamname ="dis-test1" #Name of an existing stream.
task_name="test_1" #Query the xx dump task of the stream.
|
After configuring the parameters, run the describe_dump_task_sample.py file to call describe_dump_task_test by default.
1 2 | 200
{'state': 'RUNNING', 'create_time': 1536562174110, 'task_name': 'test_1', 'destination_type': 'OBS', 'last_transfer_timestamp': 1536562183057}
|
Last Article: Querying Stream Details
Next Article: Uploading Streaming Data in JSON Format
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.