Skip to content

Commit b3499f8

Browse files
committed
Rename emit.to to emit.cc, as requested by comments
Signed-off-by: Charles d'Avernas <charles.davernas@neuroglia.io>
1 parent 10d7af1 commit b3499f8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

dsl-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ Allows workflows to publish events to event brokers or messaging systems, facili
532532
| Name | Type | Required | Description |
533533
|:--|:---:|:---:|:---|
534534
| emit.event | [`eventProperties`](#event-properties) | `yes` | Defines the event to emit. |
535-
| emit.to | [`endpoint`](#endpoint) | `no` | Specifies an additional endpoint for emitting 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. |
535+
| 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. |
536536

537537
##### Examples
538538

schema/workflow.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -491,10 +491,10 @@ $defs:
491491
description: Defines the properties of event to emit.
492492
required: [ source, type ]
493493
additionalProperties: true
494-
to:
494+
cc:
495495
$ref: '#/$defs/endpoint'
496-
title: EmitEndpointDefinition
497-
description: Defines the additional endpoint, if any, to emit the event to.
496+
title: EmitCarbonCopyDefinition
497+
description: Defines an additional endpoint, if any, to publish an event's carbon copy to.
498498
required: [ event ]
499499
forTask:
500500
type: object

0 commit comments

Comments
 (0)