dbt-redshift icon indicating copy to clipboard operation
dbt-redshift copied to clipboard

feat: Add TCP keepalive configuration for Redshift connections [DRAFT]

Open luis-garza-dev opened this issue 6 months ago • 1 comments

Add support for configuring TCP keepalive settings in Redshift connections to help prevent connection timeouts in long-running queries. This change:

  • Adds TCP keepalive configuration options to RedshiftCredentials
  • Sets sensible defaults (enabled, idle=60s, interval=30s, count=5)
  • Passes keepalive settings through to the connection method

Default values align with common TCP keepalive configurations and should work well for most use cases while preventing idle connection drops.

TODO

  • [ ] Finalize redshift-connector version once keepalive changes are merged
  • [ ] Add documentation for new configuration options
  • [ ] Add tests for keepalive settings

luis-garza-dev avatar Jun 03 '25 22:06 luis-garza-dev

Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Luis Garza. This is most likely caused by a git client misconfiguration; please make sure to:

  1. check if your git client is configured with an email to sign commits git config --list | grep email
  2. If not, set it up using git config --global user.email [email protected]
  3. Make sure that the git commit email is configured in your GitHub account settings, see https://github.com/settings/emails

cla-bot[bot] avatar Jun 03 '25 22:06 cla-bot[bot]