Configuring Parameters
- Configure parameters described in Table 1.
Table 1 Parameters in the dms.client.properties file Parameter
Description
dms.server.ip
DMS server address (IP address or domain name)
dms.server.port
DMS TCP port
Set this parameter to 60010.
dms.client.blocked.worker.num
Number of threads that executes blocking callbacks
By default, this parameter is set to –1.
If this parameter is set to a value smaller than 0, then:
Number of threads = 2 x Number of CPU cores
dms.client.conn.timeout
Connection timeout time
Unit: ms
Default value: 6000
dms.client.reconn.attempt.times
Number of reconnection attempts
Unit: ms
Default value: 3
dms.client.reconn.attempt.interval
Interval at which reconnection attempts are initiated
Unit: ms
Default value: 3000
dms.client.request.timeout
Request timeout time
Unit: ms
Default value: 60000
dms.client.start.timeout
Client startup timeout time
Duration: ms
Default value: 60000
dms.client.project.id
Project ID
For details on how to obtain a project ID, see Obtaining a Project ID.
dms.client.access.key
Access key ID
For details on how to obtain an access key ID, see Obtaining an AK/SK.
dms.client.secret.key
Secret access key
For details on how to obtain a secret access key, see Obtaining an AK/SK.
- Write code. For details about APIs, see the dms.sdk.api.chm file described in 1.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot