The Kogito services and application should be able to use external services for persistence and events.
Summary:
If Kogito application needs persistence or event support it can choose whether it will be provided by Kogito operator or externally. This epic addresses the externally provided services.
For Kogito application the external service configuration is defined by used by specifying all the required environment variables.
For Kogito services (Data index, Jobs service) the Kogito operator allows specifying Infinispan and Kafka connection properties using CR fields.
Goals:
- Kogito application is able to persist its state to externally provided Infinispan instance and send events to externally provided Kafka instance.
- Data index is able to read data from externally provided Infinispan instance and listen to events from external Kafka instance. The configuration for connecting to external instances is provided in Data index CR.
- Jobs service is able to persist state into externally provided Infinispan instance and send events to external Kafka instance. The configuration for connecting to external instances is provided in Jobs service CR.
Non-goals:
- Provide direct support in CR for Kogito app to connect to externally provided Infinispan or Kafka.
Note: This feature may have been implemented already, QE needs to check its current status.
- is blocked by
-
KOGITO-1900 Data index Infinispan usernameKey and passwordKey were not applied
- Closed
-
KOGITO-2012 Impossible to configure external Kafka for Data index using kafka-instance CLI parameter
- Closed
- is incorporated by
-
KOGITO-1347 BDD tests: Test using external Infinispan and Kafka connection
- Resolved