Wanted to put a broader question around about how to best manage a clustered Spring Integration application behind a LB typically a AWS ALB for instance .
- Leader Election : This is supported with SI with roles and leader election apis https://docs.spring.io/spring-integration/reference/htmlsingle/#leadership-event-handling and I guess it has good support as per https://docs.spring.io/spring-integration/reference/html/zookeeper.html .
- Managing adapters in the cluster . Right now we expose a few rest api's to start stop specific SI adapters/message handlers . But these are typically in each node , is there a way we can somehow register these at a common store and then provide common interfaces to manage and discover them .THis will enable actions to be applied across the whole cluster and discover adapters across all nodes .
- Load Balancing Adapters : How to load balance adapters across varioud nodes . This is typically usefull when say we spawn ftp,http,jms adapters dynamically in SI .
Do let me know your thoughts