You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Colin Mullikin (Jira)" <ji...@apache.org> on 2021/11/23 17:42:00 UTC
[jira] [Created] (CAMEL-17226) Master w/ Zookeeper should take namespace into account for leader election
Colin Mullikin created CAMEL-17226:
--------------------------------------
Summary: Master w/ Zookeeper should take namespace into account for leader election
Key: CAMEL-17226
URL: https://issues.apache.org/jira/browse/CAMEL-17226
Project: Camel
Issue Type: Improvement
Components: camel-zookeeper
Reporter: Colin Mullikin
The camel-zookeeper implementation for the Master component is limited to only one leader across _all_ routes that utilize the Master component. This should be partitioned by namespace (i.e. {{{}master:namespace{}}}), such that a route defined with {{master:lock1}} will result in one leader election, while a route defined with {{master:lock2}} will result in a separate leader election, which may or may not share the same leader as {{{}lock1{}}}.
The camel-consul component already works this way in combination with the Master component.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)