Class StreamingBufferThreshold


  • public class StreamingBufferThreshold
    extends BufferThreshold
    Helper class Associated to Streaming Snowpipe runtime of Kafka Connect which can help to identify if there is a need to flush the buffered records.

    Please note: Flush entails invoking SnowflakeStreamingIngestChannel.insertRows(Iterable, String) API with suitable buffered rows.

    • Constructor Detail

      • StreamingBufferThreshold

        public StreamingBufferThreshold​(long flushTimeThresholdSeconds,
                                        long bufferSizeThresholdBytes,
                                        long bufferKafkaRecordCountThreshold)