@@ -78,27 +78,29 @@ This mode is useful for local development, tests and offline applications.
7878
7979The default options can be defined in the FlagdProvider constructor.
8080
81- | Option name | Environment variable name | Type & Values | Default | Compatible resolver |
82- | --------------------------| --------------------------------| ---------------| -----------| ---------------------|
83- | resolver_type | FLAGD_RESOLVER | enum | grpc | |
84- | host | FLAGD_HOST | str | localhost | rpc & in-process |
85- | port | FLAGD_PORT | int | 8013 | rpc & in-process |
86- | tls | FLAGD_TLS | bool | false | rpc & in-process |
87- | deadline | FLAGD_DEADLINE_MS | int | 500 | rpc & in-process |
88- | stream_deadline_ms | FLAGD_STREAM_DEADLINE_MS | int | 600000 | rpc & in-process |
89- | keep_alive_time | FLAGD_KEEP_ALIVE_TIME_MS | int | 0 | rpc & in-process |
90- | selector | FLAGD_SOURCE_SELECTOR | str | null | in-process |
91- | cache_type | FLAGD_CACHE | enum | lru | rpc |
92- | max_cache_size | FLAGD_MAX_CACHE_SIZE | int | 1000 | rpc |
93- | retry_backoff_ms | FLAGD_RETRY_BACKOFF_MS | int | 1000 | rpc |
94- | offline_flag_source_path | FLAGD_OFFLINE_FLAG_SOURCE_PATH | str | null | in-process |
95-
96- <!--
97- | target_uri | FLAGD_TARGET_URI | str | null | rpc & in-process |
98- | socket_path | FLAGD_SOCKET_PATH | str | null | rpc & in-process |
99- | cert_path | FLAGD_SERVER_CERT_PATH | str | null | rpc & in-process |
100- | max_event_stream_retries | FLAGD_MAX_EVENT_STREAM_RETRIES | int | 5 | rpc |
101- -->
81+ | Option name | Environment variable name | Type & Values | Default | Compatible resolver |
82+ | ------------------------ | ------------------------------ | -------------------------- | ----------------------------- | ------------------- |
83+ | resolver_type | FLAGD_RESOLVER | enum - ` rpc ` , ` in-process ` | rpc | |
84+ | host | FLAGD_HOST | str | localhost | rpc & in-process |
85+ | port | FLAGD_PORT | int | 8013 (rpc), 8015 (in-process) | rpc & in-process |
86+ | tls | FLAGD_TLS | bool | false | rpc & in-process |
87+ | deadline | FLAGD_DEADLINE_MS | int | 500 | rpc & in-process |
88+ | stream_deadline_ms | FLAGD_STREAM_DEADLINE_MS | int | 600000 | rpc & in-process |
89+ | keep_alive_time | FLAGD_KEEP_ALIVE_TIME_MS | int | 0 | rpc & in-process |
90+ | selector | FLAGD_SOURCE_SELECTOR | str | null | in-process |
91+ | cache_type | FLAGD_CACHE | enum - ` lru ` , ` disabled ` | lru | rpc |
92+ | max_cache_size | FLAGD_MAX_CACHE_SIZE | int | 1000 | rpc |
93+ | retry_backoff_ms | FLAGD_RETRY_BACKOFF_MS | int | 1000 | rpc |
94+ | offline_flag_source_path | FLAGD_OFFLINE_FLAG_SOURCE_PATH | str | null | in-process |
95+
96+ <!-- not implemented
97+ | target_uri | FLAGD_TARGET_URI | alternative to host/port, supporting custom name resolution | string | null | rpc & in-process |
98+ | socket_path | FLAGD_SOCKET_PATH | alternative to host port, unix socket | String | null | rpc & in-process |
99+ | cert_path | FLAGD_SERVER_CERT_PATH | tls cert path | String | null | rpc & in-process |
100+ | max_event_stream_retries | FLAGD_MAX_EVENT_STREAM_RETRIES | int | 5 | rpc |
101+ | context_enricher | - | sync-metadata to evaluation context mapping function | function | identity function | in-process |
102+ | offline_pollIntervalMs | FLAGD_OFFLINE_POLL_MS | poll interval for reading offlineFlagSourcePath | int | 5000 | in-process |
103+ -->
102104
103105> [ !NOTE]
104106> Some configurations are only applicable for RPC resolver.
0 commit comments