Comprehensive guide for installing, configuring, and deploying the FlowX Data Search service
Component | Purpose |
---|---|
Redis | Caching search results and configurations |
Kafka | Message-based communication with the engine |
Elasticsearch | Indexing and searching data |
Variable | Description | Default/Example |
---|---|---|
SPRING_KAFKA_BOOTSTRAPSERVERS | Address of Kafka server(s) | localhost:9092 |
SPRING_KAFKA_SECURITY_PROTOCOL | Security protocol for Kafka | PLAINTEXT |
KAFKA_CONSUMER_THREADS | Number of Kafka consumer threads | 1 |
KAFKA_MESSAGE_MAX_BYTES | Maximum message size | 52428800 (50MB) |
KAFKA_OAUTH_CLIENT_ID | OAuth client ID for Kafka authentication | kafka |
KAFKA_OAUTH_CLIENT_SECRET | OAuth client secret | kafka-secret |
KAFKA_OAUTH_TOKEN_ENDPOINT_URI | OAuth token endpoint | kafka.auth.localhost |
ai.flowx.dev.core.trigger.search.data.v1
Variable | Description | Default |
---|---|---|
KAFKA_TOPIC_NAMING_SEPARATOR | Primary separator for topic naming | . |
KAFKA_TOPIC_NAMING_SEPARATOR2 | Secondary separator | - |
KAFKA_TOPIC_NAMING_PACKAGE | Package prefix | ai.flowx. |
KAFKA_TOPIC_NAMING_ENVIRONMENT | Environment name | dev. |
KAFKA_TOPIC_NAMING_VERSION | Version suffix | .v1 |
Topic | Default Value | Purpose |
---|---|---|
KAFKA_TOPIC_DATA_SEARCH_IN | ai.flowx.dev.core.trigger.search.data.v1 | Incoming search requests |
KAFKA_TOPIC_DATA_SEARCH_OUT | ai.flowx.dev.engine.receive.core.search.data.results.v1 | Outgoing search results |
Variable | Description | Default | Example |
---|---|---|---|
SPRING_ELASTICSEARCH_REST_URIS | Elasticsearch server address(es) | - | elasticsearch-master:9200 |
SPRING_ELASTICSEARCH_REST_PROTOCOL | Protocol for Elasticsearch communication | http | https |
SPRING_ELASTICSEARCH_REST_DISABLESSL | Whether to disable SSL verification | false | true |
SPRING_ELASTICSEARCH_REST_USERNAME | Elasticsearch username | - | elastic |
SPRING_ELASTICSEARCH_REST_PASSWORD | Elasticsearch password | - | changeme |
SPRING_ELASTICSEARCH_INDEX_SETTINGS_NAME | Name of the index to use | process_instance | flowx_data |
Variable | Description | Example |
---|---|---|
SECURITY_OAUTH2_BASESERVERURL | Base URL for OAuth2 server | https://keycloak.example.com/auth |
SECURITY_OAUTH2_CLIENT_CLIENTID | OAuth2 client ID | data-search-service |
SECURITY_OAUTH2_CLIENT_CLIENTSECRET | OAuth2 client secret | data-search-service-secret |
SECURITY_OAUTH2_REALM | OAuth2 realm name | flowx |
Variable | Description | Default | Example |
---|---|---|---|
LOGGING_LEVEL_ROOT | Root Spring Boot log level | INFO | ERROR |
LOGGING_LEVEL_APP | Application-specific log level | INFO | DEBUG |
Variable | Description | Default | Example |
---|---|---|---|
SPRING_ELASTICSEARCH_REST_URIS | Elasticsearch server address(es) | localhost:9200 | elasticsearch-master:9200 |
SPRING_ELASTICSEARCH_REST_PROTOCOL | Protocol for Elasticsearch communication | https | https |
SPRING_ELASTICSEARCH_REST_DISABLESSL | Whether to disable SSL verification | false | true |
SPRING_ELASTICSEARCH_REST_USERNAME | Elasticsearch username | "" (empty) | elastic |
SPRING_ELASTICSEARCH_REST_PASSWORD | Elasticsearch password | "" (empty) | changeme |
SPRING_ELASTICSEARCH_INDEXSETTINGS_NAME | Name of the index to use | process_instance | flowx_data |
process_instance
.
spring.elasticsearch.index-settings.name
property. This pattern is used to query across multiple indices that match the pattern.