You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Where hostname-matches is a property-function (we should define it in the runtime), that evaluates to true or false depending on the current name of the pod (HOSTNAME env variable).
This can allow us to assign partition keys to various pods in a StatefulSet.
I'm open to alternatives :D.
The text was updated successfully, but these errors were encountered:
Currently routes are loaded via properties, e.g.:
I was thinking to add a property like:
camel.k.sources[0].enabled=false
That could be used to enable/disable a route (default
true
).I'd use that in the operator this way:
camel.k.sources[0].enabled={{hostname-matches:display-0}}
Where
hostname-matches
is a property-function (we should define it in the runtime), that evaluates to true or false depending on the current name of the pod (HOSTNAME
env variable).This can allow us to assign partition keys to various pods in a StatefulSet.
I'm open to alternatives :D.
The text was updated successfully, but these errors were encountered: