FLEX_CONNECTION_IDLE_TIMEOUT_SECONDS |
60
|
Maximum number of seconds a connection can be idle before it times out. For more information, see Configuring Timeouts in Connected Mode. |
FLEX_STREAM_IDLE_TIMEOUT_SECONDS |
300
|
Maximum number of seconds a stream can remain idle without receiving any data in either the inbound (client to Omni Gateway) or outbound (Omni Gateway to upstream service) direction. For more information, see Configuring Timeouts in Connected Mode. |
FLEX_UPSTREAM_CONNECTION_IDLE_TIMEOUT_SECONDS |
60
|
Maximum number of seconds a stream between Omni Gateway and the upstream service can remain idle between requests. For more information, see Configuring Timeouts in Connected Mode. |
FLEX_UPSTREAM_RESPONSE_TIMEOUT_SECONDS |
15
|
Maximum number of seconds an Omni Gateway waits for a response from an upstream service. For more information, see Configuring Timeouts in Connected Mode. |
FLEX_ENVOY_HEADERS_ENABLED |
false
|
Allows (true) or removes (false) Envoy headers from requests. For more information, see Requirements and Limits for Omni Gateway. |
FLEX_REWRITE_HOST_HEADER |
true
|
Rewrite HTTP Host header to match upstream. |
FLEX_BASE_PATH_CANONICALIZER_ENABLED |
true
|
Internally rewrites requests that exactly match a slashless API base path, such as /api, to the slash-terminated form (/api/), so that these requests reach the API instance. To disable this behavior, set this variable to false. |
FLEX_REMOVE_SERVER_HEADER |
false
|
Removes the Server HTTP response header from outbound responses when set to true. Set to true to reduce exposure of server implementation details for security or compliance purposes. |
FLEX_HEADER_RAW_VALUE_ENABLE |
`tru`e |
Controls header encoding for external authorization. Set to false to send headers encoded in UTF-8. For more information, see External Authorization Policy. |
FLEX_FORWARD_CLIENT_CERT_DETAILS |
SANITIZE
|
Controls how the x-forwarded-client-cert (XFCC) HTTP header is handled. Supported values are SANITIZE, FORWARD_ONLY, APPEND_FORWARD, SANITIZE_SET, and ALWAYS_FORWARD_ONLY. For more information, see HTTP connection manager (proto) in the Envoy documentation. |
FLEX_DOWNSTREAM_CONNECTION_BUFFER_LIMIT_BYTES |
1048576 (1 MB)
|
Maximum size, in bytes, of read and write buffers for new connections. For more information, see Requirements and Limits for Omni Gateway. |
FLEX_DATASOURCE_CONTROL_NODE_ENABLED |
true
|
Enable configuration caching in Redis shared storage for Connected Mode replicas. This variable is enabled by default. To disable configuration caching, set this variable to false. For more information, see Configuring Omni Gateway Configuration Caching in Connected Mode. |
FLEX_CONTROL_NODE_STORAGE_ENCRYPTION_ENABLED |
true
|
Encrypts the configuration data that configuration caching stores. To disable encryption, set this variable to false. For more information, see conn-replica-caching.adoc#encryption. |
FLEX_STORAGE_ENCRYPTION_KEY |
N/A |
A base64-encoded PEM private key that encrypts the configuration data that configuration caching stores. If not set, Omni Gateway derives the encryption key from the registration private key. For more information, see conn-replica-caching.adoc#encryption. |
FLEX_SERVICE_ENVOY_DRAIN_TIME |
25
|
Drain period in seconds during shutdown before Omni Gateway exits gracefully. For more information, see Monitoring in Connected Mode. |
FLEX_SYNC_DEBOUNCE_TIME |
"5s" |
Specifies the amount of time to wait after detecting a configuration change before applying it. This prevents excessive reloading during rapid successive changes. The value must be a valid duration string, such as "5s" or "500ms". For Kubernetes deployments, set this value with the gateway.syncDebounceTime Helm chart value. For more information, see Set Environment Variables for Your Deployment Target. |
FLEX_STARTUP_DEBOUNCE_TIME |
"30s"
|
Applies only to Omni Gateway in Connected Mode. This variable doesn’t apply to Local Mode, Omni Gateway on Runtime Fabric, or Managed Omni Gateway.
Specifies the amount of time to wait for the initial batch of configuration from Anypoint Platform to settle before applying it when Omni Gateway starts. The value must be a valid duration string, such as "30s" or "1m". For Kubernetes deployments, set this value with the gateway.startupDebounceTime Helm chart value. For more information, see Set Environment Variables for Your Deployment Target. For guidance on choosing a value with a readiness probe, see Combine the Readiness Probe with the Startup Debounce Time.
In Omni Gateway versions earlier than 1.15, FLEX_SYNC_DEBOUNCE_TIME also controls the startup wait time. |
FLEX_DNS_REFRESH_RATE |
5s
|
Sets how often Omni Gateway refreshes DNS for upstream service clusters. The value is a duration string that is clamped between 5s and 60s. Values below the minimum or above the maximum are adjusted to the nearest bound. |
FLEX_LOG_LEVEL |
4 (INFO)
|
Sets the logging level for Omni Gateway. For the environment variable configuration of log level, you specify a number that corresponds to the log level. Supported values are NONE:`-1`, FATAL:`0`, ERROR:`1`, WARN:`2`, INFO:`4`, DEBUG:`8`, and TRACE:`16`. |
FLEX_CONFIG |
N/A |
Provides Omni Gateway registration and configuration as a YAML-formatted string. The YAML content must be properly escaped to preserve special characters. Provide your registration and configuration as a string if deploying environments where file mounting isn’t practical, such as Amazon ECS or Azure Container Apps. |