Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add authentication for max lag parameter and fix IT #763

Merged
merged 4 commits into from
Dec 7, 2023

Conversation

sfc-gh-rcheng
Copy link
Collaborator

@sfc-gh-rcheng sfc-gh-rcheng commented Dec 7, 2023

  • Validates that the given parameter for SNOWPIPE_STREAMING_MAX_CLIENT_LAG is a long
  • Fixes a max lag IT

@sfc-gh-rcheng sfc-gh-rcheng changed the title Add authentication for max lag parameter Add authentication for max lag parameter and fix IT Dec 7, 2023
@sfc-gh-rcheng sfc-gh-rcheng merged commit 2e71470 into master Dec 7, 2023
32 checks passed
@sfc-gh-rcheng sfc-gh-rcheng deleted the rcheng-fixmaxlag branch December 7, 2023 23:29
EduardHantig pushed a commit to streamkap-com/snowflake-kafka-connector that referenced this pull request Feb 1, 2024
sudeshwasnik added a commit to confluentinc/snowflake-kafka-connector that referenced this pull request Feb 16, 2024
* [external contributor] Support config providers in validation by @swehner (snowflakedb#753)

Co-authored-by: Stefan Wehner <stefan@revenuecat.com>

* v2.1.2 release change in master (snowflakedb#757)

git cherry-pick d4d0e87

* NO-SNOW: Expose the Ingest SDK MAX_CLIENT_LAG configuration in KC  (snowflakedb#758)

* Add authentication for max lag parameter and fix IT (snowflakedb#763)

* SNOW-989387: Fix for java.lang.NoClassDefFoundError (snowflakedb#774)

java.lang.NoClassDefFoundError: Could not initialize class net.snowflake.client.jdbc.internal.apache.arrow.memory.RootAllocator occurs when the JDBC driver tries to process the result of the offset migration query. This is a known long-standing issue in the JDBC driver so a workaround is introduced with this fix.

* [SNOW-1015644] Update ingest sdk to 2.0.5 (snowflakedb#778)

* SNOW-943288, SNOW-938379: Fix two schema evolution cases that could cause non-exactly once delivery (snowflakedb#775)

Fix two exactly once delivery behavior issues with Snowpipe Streaming:

- When there're gaps between offsets due to records being put into the DLQ or NULL records being skipped, the current logic doesn't work after a channel reopening event (e.g. schema evolution) since it expects continuous offsets in order to guarantee exactly once delivery, causing ingestion to stop.
- When a flush is triggered by size or rowcount threshold, it's possible that only partial rows in the buffer are flushed and with a channel reopening event (e.g. schema evolution), currently the leftover rows in the buffer are still being considered which is causing the offset to be advanced and skip some offsets.

The fix in this PR makes sure we won't flush any leftover rows in the buffer, they will all be skipped and discarded. The next batch should start from the expected offset after the offset reset as part of the channel reopening event.

* resolves issue with generating and building java libary (snowflakedb#780)

* [SNOW-88848] Update readme with Snowflake documentation (snowflakedb#781)

* Update version to 2.2.0 for release (snowflakedb#779)

* Downgrade JDBC to 3.13.30 (snowflakedb#783)

* SNOW-922795 Added third-party-licenses to .zip distribution (snowflakedb#784)

* PROD-39429 Add PR template (snowflakedb#786)

---------

Co-authored-by: revi cheng <revi.cheng@snowflake.com>
Co-authored-by: Stefan Wehner <stefan@revenuecat.com>
Co-authored-by: Toby Zhang <toby.zhang@snowflake.com>
Co-authored-by: Waleed Fateem <72769898+sfc-gh-wfateem@users.noreply.github.com>
Co-authored-by: Greg Jachimko <greg.jachimko@snowflake.com>
Co-authored-by: Michał Bobowski <145468486+sfc-gh-mbobowski@users.noreply.github.com>
Co-authored-by: Jay Patel <jay.patel@snowflake.com>
sudeshwasnik pushed a commit to confluentinc/snowflake-kafka-connector that referenced this pull request Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants