apache / camel-quarkus

Apache Camel Quarkus
https://camel.apache.org
Apache License 2.0
257 stars 192 forks source link

Automatic configuration of Camel cluster services #3918

Open jamesnetherton opened 2 years ago

jamesnetherton commented 2 years ago

We should be able to do something similar to what Camel Spring Boot does to capture configuration for Camel cluster services and then use it to create the appropriate CamelClusterService.

See example for the FileLockClusterService:

https://github.com/apache/camel-spring-boot/tree/main/components-starter/camel-file-starter/src/main/java/org/apache/camel/component/file/springboot/cluster

We should aim to have auto configuration of each of the available CamelClusterService implementations that CQ supports. File, Kubernetes etc.

lburgazzoli commented 2 years ago

For what concerns the cluster service based on Kubernetes, the camel-k master auto configuration customizer:

aldettinger commented 2 years ago

In Camel Quarkus, we might implement KubernetesClusterService and FileLockClusterService. Other cluster services would not be in scope for the moment. KubernetesClusterService has been done in ticket ~4086 FileLockClusterService could be treated in another ticket.