-
Notifications
You must be signed in to change notification settings - Fork 163
Closed
Labels
area: specChanges in the SpecificationChanges in the Specificationchange: featureNew feature or request. Impacts in a minor version changeNew feature or request. Impacts in a minor version change
Milestone
Description
Emit task allows workflows to publish events to event brokers or messaging systems.
However, based on the broker the runtime has to decide which sink to use. This information is missing in the emit task.
Proposal:
do:
- emit:
sink:
endpoint:
uri: https://mycoolendpoint.com/
authentication: ...
event:
with:
type: ...
source: ...
Why is header or content based routing not enough?
Header or content based routing is done at the broker. For some brokers, the decision which sink / channel / topic / event bus to pick has to come first, before routing rules at these resources are applied.
The (domain) event should not contain routing information.
cdavernas
Metadata
Metadata
Assignees
Labels
area: specChanges in the SpecificationChanges in the Specificationchange: featureNew feature or request. Impacts in a minor version changeNew feature or request. Impacts in a minor version change
Type
Projects
Status
Done