You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(router): add TLS support for NATS event source (skip verify, custom CA, mTLS) #2582
Is your feature request related to a problem? Please describe.
The NATS event source (events.providers.nats) has no TLS support. The NatsEventSource config struct only has id, url, and authentication fields — there is no tls block. This means all NATS connections are plaintext, making it impossible to use NATS in environments that require encrypted transport (e.g., compliance requirements, production infrastructure with TLS-only brokers).
Describe the solution you'd like
Add a tls block to the NATS event source config supporting all standard TLS modes:
TLS *NatsTLSConfiguration field on NatsEventSource
TLS option building in buildNatsOptions using nats.Secure(tlsCfg)
Update config.schema.json and testdata/config_full.json golden fixture
Describe alternatives you've considered
Adding the NATS server's CA to the host OS system cert pool. This is operationally impractical in containerized/ephemeral environments.
Additional context
The Kafka event source already has a (minimal) tls.enabled flag. This proposal brings NATS to full parity and beyond, covering all 4 standard TLS modes.
WunderGraph commits fully to Open Source and we want to make sure that we can help you as fast as possible.
The roadmap is driven by our customers and we have to prioritize issues that are important to them.
You can influence the priority by becoming a customer. Please contact us here.
We're already a WunderGraph customer and have an active need for this feature. I have an implementation in mind and am happy to open a PR — could you assign this to me? Is there anything to align on before I proceed?
Activity
github-actions commentedon Mar 4, 2026
WunderGraph commits fully to Open Source and we want to make sure that we can help you as fast as possible.
The roadmap is driven by our customers and we have to prioritize issues that are important to them.
You can influence the priority by becoming a customer. Please contact us here.
vatsalpatel commentedon Mar 4, 2026
We're already a WunderGraph customer and have an active need for this feature. I have an implementation in mind and am happy to open a PR — could you assign this to me? Is there anything to align on before I proceed?
feat(router): add TLS support for NATS event source