apibara / dna

Apibara is the fastest platform to build production-grade indexers that connect onchain data to web2 services.
https://www.apibara.com/
Apache License 2.0
178 stars 32 forks source link

sink-postgres: add TLS configuration #240

Closed fracek closed 1 year ago

fracek commented 1 year ago

Summary

Add TLS-related options to the PostgreSQL sink. We expose all options exposed by the native_tls crate so that we can support as many deployments as possible.

This commit changes the default behaviour from not using TLS to using TLS.