Skip to content

Commit

Permalink
Remove the cc property from the èmit` task (#1074)
Browse files Browse the repository at this point in the history
Signed-off-by: Charles d'Avernas <[email protected]>
  • Loading branch information
cdavernas authored Jan 27, 2025
1 parent 5a68140 commit 9de4c03
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 25 deletions.
1 change: 0 additions & 1 deletion dsl-reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,6 @@ Allows workflows to publish events to event brokers or messaging systems, facili
| Name | Type | Required | Description |
|:--|:---:|:---:|:---|
| emit.event | [`eventProperties`](#event-properties) | `yes` | Defines the event to emit. |
| emit.cc | [`endpoint`](#endpoint) | `no` | Specifies an additional endpoint for emitting a carbon copy of the event. While the runtime's default cloud event endpoint remains the primary destination, setting this property ensures that the event is also published to the specified endpoint. Ideally, this property is left unset so that event delivery relies solely on the runtime's configured endpoint, but when provided, the event will be sent to both endpoints concurrently. |

##### Examples

Expand Down
20 changes: 0 additions & 20 deletions examples/emit-cc.yaml

This file was deleted.

4 changes: 0 additions & 4 deletions schema/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -499,10 +499,6 @@ $defs:
description: Defines the properties of event to emit.
required: [ source, type ]
additionalProperties: true
cc:
$ref: '#/$defs/endpoint'
title: EmitCarbonCopyDefinition
description: Defines an additional endpoint, if any, to publish an event's carbon copy to.
required: [ event ]
forTask:
type: object
Expand Down

0 comments on commit 9de4c03

Please sign in to comment.