Update environment variable configurations for all existing FlowX.AI services to support version 5.0 compatibility.

Audit core

Elasticsearch configuration migrates from SPRING_ELASTICSEARCH_* to FLOWX_ELASTICSEARCH_* namespace with enhanced index management.

Variables to remove & replace

Remove This VariableReplace WithOld DefaultNew Default
SPRING_ELASTICSEARCH_INDEXSETTINGS_DATASTREAMFLOWX_ELASTICSEARCH_INDEXSETTINGS_NAMEaudit-logsaudit-logs
SPRING_ELASTICSEARCH_INDEXSETTINGS_SHARDSFLOWX_ELASTICSEARCH_INDEXSETTINGS_SHARDS22
SPRING_ELASTICSEARCH_INDEXSETTINGS_REPLICASFLOWX_ELASTICSEARCH_INDEXSETTINGS_REPLICAS20

New variables to add

VariableDefault ValueDescription
FLOWX_ELASTICSEARCH_INDEXROLLOVERDAYS30🆕 Automatic index rollover policy
Simple migration with containerization support and namespace alignment.

Variables to update

VariableCurrent ValueNew ValueReason
SPRING_ELASTICSEARCH_REST_URISlocalhost:9200elasticsearch:9200Containerization support

Variables to replace

Remove ThisAdd ThisDefault Value
SPRING_ELASTICSEARCH_INDEXSETTINGS_NAMEFLOWX_ELASTICSEARCH_INDEXSETTINGS_NAMEprocess_instance

Kafka Configuration

Consumer group naming standardized to kebab-case across all FlowX.AI services with new messaging features for enhanced functionality.
Do not modify default consumer group names. We strongly recommend against changing the default consumer group names as this operation can lead to misconfigurations. The application is designed to work and scale with the consumer groups as they are defined by default.

Consumer group naming changes

Application Manager specific features

New environment variables

VariableDefault ValueDescription
FLOWX_RESOURCESUSAGES_REFRESHPRODUCER_REFRESHEXPIRATIONSECONDS300🆕 Refresh expiration timeout
SERVER_MAXHTTPREQUESTHEADERSIZE16KB🆕 Maximum HTTP request header size

New Kafka features

Resource Update Propagation

Consumer Group: app-resource-update-propagation-group
Threads: 3
Topic: ai.flowx.{env}.application-version.resource.update.propagation.v1

Build Runtime Data

Consumer Group: build-runtime-data-group
Threads: 2
Topic: ai.flowx.{env}.build.runtime-data.v1

Business Rule Sync

Topic: ai.flowx.{env}.application-version.sync.business-rule.in.v1
Purpose: Business rule synchronization

Process Sync (Restructured)

Topic: ai.flowx.{env}.application-version.sync.process.in.v1
Purpose: Enhanced process synchronization

Kafka environment variables (optional overrides)

# Resource Update Propagation
KAFKA_TOPIC_APPLICATION_RESOURCE_RESOURCEUPDATEPROPAGATION=ai.flowx.dev.application-version.resource.update.propagation.v1

# Build Runtime Data  
KAFKA_TOPIC_BUILD_RUNTIMEDATA=ai.flowx.dev.build.runtime-data.v1

# Business Rule Sync
KAFKA_TOPIC_APPLICATION_RESOURCE_SYNC_OUT_BUSINESSRULE=ai.flowx.dev.application-version.sync.business-rule.in.v1

# Process Sync (restructured)
KAFKA_TOPIC_APPLICATION_RESOURCE_SYNC_OUT_PROCESS=ai.flowx.dev.application-version.sync.process.in.v1
Automatic Configuration: Most deployments can rely on the built-in naming patterns without explicit environment variable overrides.

Integration Designer

Storage configuration

Added support for S3 storage for files in Integration Designer.
VariableDefault ValueDescription
APPLICATION_FILESTORAGE_TYPEs3🆕 Storage type
APPLICATION_FILESTORAGE_PARTITIONSTRATEGYNONE🆕 Partition strategy
APPLICATION_FILESTORAGE_DELETIONSTRATEGYdelete🆕 Deletion strategy
APPLICATION_FILESTORAGE_S3_ENABLEDtrue🆕 S3 enabled
APPLICATION_FILESTORAGE_S3_SERVERURLhttp://minio:9000🆕 S3 server URL
APPLICATION_FILESTORAGE_S3_ENCRYPTIONENABLEDfalse🆕 S3 encryption enabled
APPLICATION_FILESTORAGE_S3_ACCESSKEYminio🆕 S3 access key
APPLICATION_FILESTORAGE_S3_SECRETKEYminio123🆕 S3 secret key
APPLICATION_FILESTORAGE_S3_BUCKETPREFIXworkflows-bucket🆕 S3 bucket prefix

Redis

Added caching when running a workflow.
VariableDefault ValueDescription
SPRING_CACHE_TYPEredis🆕 Cache type
SPRING_CACHE_REDIS_KEYPREFIXflowx:core:cache:integration-designer:🆕 Cache key prefix
SPRING_CACHE_REDIS_TIMETOLIVE5000000🆕 Cache time to live
SPRING_REDIS_HOSTredis-master🆕 Redis host
SPRING_REDIS_PORT6379🆕 Redis port
SPRING_REDIS_PASSWORDdefaultpassword🆕 Redis password
SPRING_REDIS_TTL5000000🆕 Redis time to live
SPRING_DATA_REDIS_HOSTspring.redis.host🆕 Redis host

Java runtime configuration

FlowX.AI containers and services must rely exclusively on Java-standard environment variables for runtime tuning.
Deprecated variablesStandard ReplacementNotes
JAVA_OPTS, JAVA_TOOL_OPTIONSJDK_JAVA_OPTIONSEnsures compatibility with Java 21 and simplifies container config
Environment-specific memory configurations must now be defined using JDK_JAVA_OPTIONS. Avoid relying on JAVA_OPTS, JAVA_TOOL_OPTIONS or legacy Docker-level overrides — these are no longer processed explicitly.

Config profiles

Config profiles are deprecated since 4.7.6 version.
Remove legacy CONFIG_PROFILE usage. Delete any CONFIG_PROFILE environment variable definitions from deployments. This variable is no longer referenced by FlowX.AI services.