You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2021/11/24 05:59:00 UTC
[jira] [Resolved] (CAMEL-17226) Master w/ Zookeeper should take namespace into account for leader election
[ https://issues.apache.org/jira/browse/CAMEL-17226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-17226.
---------------------------------
Fix Version/s: 3.14.0
Resolution: Fixed
> 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
> Priority: Minor
> Fix For: 3.14.0
>
>
> 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)