Skip to content

chore: add exclude_txn_from_change_streams option to Connection API #3104

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

Merged
merged 4 commits into from
May 23, 2024

Conversation

olavloite
Copy link
Collaborator

Adds an exclude_txn_from_change_streams option to the Connection API. This flag:

  • Is only set for the next transaction. After executing a transaction, the flag is reset to false.
  • Can be set using Connection#setExcludeTxnFromChangeStreams(boolean)
  • Can be set using the custom SQL statement SET EXCLUDE_TXN_FROM_CHANGE_STREAMS=TRUE|FALSE

@olavloite olavloite requested review from a team as code owners May 13, 2024 09:19
@product-auto-label product-auto-label bot added size: xl Pull request size is extra large. api: spanner Issues related to the googleapis/java-spanner API. labels May 13, 2024
@olavloite olavloite requested a review from rahul2393 May 13, 2024 11:56
@olavloite olavloite merged commit dfd9c4b into main May 23, 2024
32 of 34 checks passed
@olavloite olavloite deleted the exclude-txn-from-change-stream branch May 23, 2024 06:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: spanner Issues related to the googleapis/java-spanner API. size: xl Pull request size is extra large.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants