Class StreamingDataSourceBuilder

    • Field Detail

      • backgroundPollIntervalMillis

        protected int backgroundPollIntervalMillis
      • initialReconnectDelayMillis

        protected int initialReconnectDelayMillis
    • Constructor Detail

      • StreamingDataSourceBuilder

        public StreamingDataSourceBuilder()
    • Method Detail

      • initialReconnectDelayMillis

        public StreamingDataSourceBuilder initialReconnectDelayMillis​(int initialReconnectDelayMillis)
        Sets the initial reconnect delay for the streaming connection.

        The streaming service uses a backoff algorithm (with jitter) every time the connection needs to be reestablished. The delay for the first reconnection will start near this value, and then increase exponentially for any subsequent connection failures.

        The default value is DEFAULT_INITIAL_RECONNECT_DELAY_MILLIS.

        Parameters:
        initialReconnectDelayMillis - the reconnect time base value in milliseconds
        Returns:
        the builder