Class SnowflakeStreamingIngestClientFactory.Builder

    • Method Detail

      • setParameterOverrides

        public SnowflakeStreamingIngestClientFactory.Builder setParameterOverrides​(java.util.Map<java.lang.String,​java.lang.Object> parameterOverrides)
        Set the parameter overrides for the client
        Parameters:
        parameterOverrides - the parameter overrides
        Returns:
        the builder
      • setExecutorService

        public SnowflakeStreamingIngestClientFactory.Builder setExecutorService​(java.util.concurrent.ExecutorService executorService)
        Set an optional ExecutorService for asynchronous operations.

        If not provided, the client will create and manage its own ExecutorService internally. The provided executor will be used for operations like waitForCommit that require background task execution.

        Important: If you provide your own executor, you are responsible for shutting it down. The client will not automatically shut down user-provided executors when close() is called.

        Parameters:
        executorService - the ExecutorService to use for async operations
        Returns:
        the builder