gRPC Max Connection Age setting DNS resolution refresh

Versions: Data Prepper 2.13.1

Describe the issue:

Kubernetes will horizontally scale instances of Data Prepper. However gRPC will not re-resolve the DNS to find the new IPs to use for new channels. The suggested workaround is to set the Max Connection Age+Grace to force new channel creation periodically.

It’s a server-side option, so it would be set on the DP source, however I can’t see it as an option for either Otel Logs nor OTLP.

Is MAX_CONNECTION_AGE exposed as a configuration option? Or is there another suggested way?

Configuration:

Relevant Logs or Screenshots:

@arichtman-srt As per Data Prepper GitHub repo, the MAX_CONNECTION_AGE and MAX_CONNECTION_AGE_GRACE are not exposed.

I’ve noticed that you’ve reported missing options in the DP GitHub. Placing here for traceability.