title | weight | type | aliases | |
---|---|---|---|---|
Parallel |
20 |
docs |
|
Parallel CRD provides a way to easily define a list of branches, each receiving the same CloudEvent sent to the Parallel ingress channel. Typically, each branch consists of a filter function guarding the execution of the branch.
Parallel creates Channel
s and Subscription
s under the hood.
Parallel has three parts for the Spec:
branches
defines the list of filter
and subscriber
pairs, one per branch,
and optionally a reply
object. For each branch:
filter
is evaluated and when it returns an event the subscriber
is
executed. Both filter
and subscriber
must be Addressable
.subscriber
is sent to the branch reply
object. When the reply
is empty, the event is sent to the spec.reply
object (see below).channelTemplate
defines the Template which will be used to
create Channel
s.reply
defines where the result of each branch is sent to when
the branch does not have its own reply
object.Parallel has three parts for the Status:
conditions
which details the overall status of the Parallel objectingressChannelStatus
and branchesStatuses
which convey the status of
underlying Channel
and Subscription
resource that are created as part of
this Parallel.address
which is exposed so that Parallel can be used where Addressable can
be used. Sending to this address will target the Channel
which is fronting
this Parallel (same as ingressChannelStatus
).Learn how to use Parallel by following the examples
Вы можете оставить комментарий после Вход в систему
Неприемлемый контент может быть отображен здесь и не будет показан на странице. Вы можете проверить и изменить его с помощью соответствующей функции редактирования.
Если вы подтверждаете, что содержание не содержит непристойной лексики/перенаправления на рекламу/насилия/вульгарной порнографии/нарушений/пиратства/ложного/незначительного или незаконного контента, связанного с национальными законами и предписаниями, вы можете нажать «Отправить» для подачи апелляции, и мы обработаем ее как можно скорее.
Опубликовать ( 0 )