Class StreamingBufferThreshold
- java.lang.Object
-
- com.snowflake.kafka.connector.internal.BufferThreshold
-
- com.snowflake.kafka.connector.internal.streaming.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 Summary
Constructors Constructor Description StreamingBufferThreshold(long flushTimeThresholdSeconds, long bufferSizeThresholdBytes, long bufferKafkaRecordCountThreshold)
-
Method Summary
-
Methods inherited from class com.snowflake.kafka.connector.internal.BufferThreshold
getFlushTimeThresholdSeconds, shouldFlushOnBufferByteSize, shouldFlushOnBufferRecordCount, shouldFlushOnBufferTime, toString, validateBufferThreshold
-
-