diff --git a/dsl-reference.md b/dsl-reference.md index 08d286f2..01172417 100644 --- a/dsl-reference.md +++ b/dsl-reference.md @@ -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 diff --git a/examples/emit-cc.yaml b/examples/emit-cc.yaml deleted file mode 100644 index 8a481a9e..00000000 --- a/examples/emit-cc.yaml +++ /dev/null @@ -1,20 +0,0 @@ -document: - dsl: '1.0.0-alpha5' - namespace: test - name: emit - version: '0.1.0' -do: - - emitEvent: - emit: - event: - with: - source: https://petstore.com - type: com.petstore.order.placed.v1 - data: - client: - firstName: Cruella - lastName: de Vil - items: - - breed: dalmatian - quantity: 101 - cc: https://additional-cloud-event-sink.com/pub \ No newline at end of file diff --git a/schema/workflow.yaml b/schema/workflow.yaml index 54a8f7ad..488461c6 100644 --- a/schema/workflow.yaml +++ b/schema/workflow.yaml @@ -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