All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.snowflake.kafka.connector.internal.streaming.StreamingBufferThreshold Maven / Gradle / Ivy

There is a newer version: 2.4.1
Show newest version
package com.snowflake.kafka.connector.internal.streaming;

import com.snowflake.kafka.connector.internal.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 {@link * net.snowflake.ingest.streaming.SnowflakeStreamingIngestChannel#insertRows(Iterable, String)} API * with suitable buffered rows. */ public class StreamingBufferThreshold extends BufferThreshold { public StreamingBufferThreshold( long flushTimeThresholdSeconds, long bufferSizeThresholdBytes, long bufferKafkaRecordCountThreshold) { super( IngestionMethodConfig.SNOWPIPE_STREAMING, flushTimeThresholdSeconds, bufferSizeThresholdBytes, bufferKafkaRecordCountThreshold); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy