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 Value | Example |
---|---|---|---|
SPRING_ELASTICSEARCH_REST_URIS | URL(s) of Elasticsearch nodes (no protocol) | - | elasticsearch:9200 |
SPRING_ELASTICSEARCH_REST_PROTOCOL | Connection protocol | https | https or http |
SPRING_ELASTICSEARCH_REST_DISABLESSL | Disable SSL verification | false | false |
SPRING_ELASTICSEARCH_REST_USERNAME | Authentication username | - | elastic |
SPRING_ELASTICSEARCH_REST_PASSWORD | Authentication password | - | your-password |
SPRING_ELASTICSEARCH_INDEXSETTINGS_NAME | Index name for search data | process_instance | process_instance |
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 |
process_instance
.
spring.elasticsearch.index-settings.name
property. This pattern is used to query across multiple indices that match the pattern.