Skip to content

Commit

Permalink
Bump snowflake-ingest-sdk to 2.2.2 (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-xhuang authored and spenes committed Oct 11, 2024
1 parent 423ae6b commit d093127
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,10 @@ object Channel {
props.setProperty(ParameterProvider.ENABLE_SNOWPIPE_STREAMING_METRICS, "false")

// Disable SDK's background flushing because we manage it ourselves
props.setProperty(ParameterProvider.BUFFER_FLUSH_INTERVAL_IN_MILLIS, Long.MaxValue.toString)
props.setProperty(ParameterProvider.BUFFER_FLUSH_CHECK_INTERVAL_IN_MILLIS, Long.MaxValue.toString)
// Max allowed value for MAX_CLIENT_LAG is 10 min. However, background flushing is disabled with above
// line. Therefore, it isn't very important what value we use in here.
props.setProperty(ParameterProvider.MAX_CLIENT_LAG, "600000")
props.setProperty(ParameterProvider.INSERT_THROTTLE_INTERVAL_IN_MILLIS, "0")
props.setProperty(ParameterProvider.INSERT_THROTTLE_THRESHOLD_IN_PERCENTAGE, "0")
props.setProperty(ParameterProvider.INSERT_THROTTLE_THRESHOLD_IN_BYTES, "0")
Expand Down
2 changes: 1 addition & 1 deletion project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ object Dependencies {
val slf4j = "2.0.7"
val azureSdk = "1.9.1"
val sentry = "6.25.2"
val snowflake = "2.0.3"
val snowflake = "2.2.2"
val jaxb = "2.3.1"
val awsSdk2 = "2.25.16"
val netty = "4.1.100.Final" // Version override
Expand Down

0 comments on commit d093127

Please sign in to comment.