setRetries 
  Sets the number of retries and the interval between retries for the streaming process.
Parameters
retries
The number of retries.
retryInterval 
The interval between retries in milliseconds.
Sets the number of retries and the interval between retries for the streaming process.
The number of retries.
The interval between retries in milliseconds.