Hello,
Hope you are doing well.
We are deploying a Kogito 10.2.0 workflow on Spring Boot with PostgreSQL JDBC persistence and Kafka eventing in a Kubernetes environment. Before scaling beyond a single replica, I'd like to clarify a few points:
a. The process-postgresql-persistence-springboot example README mentions: "Kogito runtimes need to be able to safely handle concurrent requests to shared instances such as process instances, tasks, etc."
i. kogito.persistence.optimistic.lock=true
ii. Questions:
1. Is this property supported and recommended for Spring Boot runtimes (not just Quarkus)?
2. Does it apply to both process instances AND user tasks?
3. Are there any known limitations or additional configuration required?
Our enterprise Kafka platform follows the "Public Event / Observer" pattern — the engine publishes state-change events to shared topics (e.g., *.public.kogito-process.all.processinstances.event.json.v1), and the Data Index subscribes as a consumer group.
Since Kafka natively handles partition assignment within a consumer group, we expect this should support multiple replicas.
i. Question:
Our Stack:
Thank you for your help and any guidance!
Jayro