Skip to main content

spotf stream egress-route create-or-update delta

Create/Update Delta Egress Route

Arguments

None.

Options

--stream-group-name: Stream Group name

  • Required.
  • Value = [string]

--stream-name: Stream name

  • Required.
  • Value = [string]

--egress-route-name: Egress Route name

  • Required.
  • Value = [string]

--directory-path: Path on the target storage where the Delta table will be stored.

  • Value = [string]

--schema: Schema of the target Delta Tables. The TextLines schema is used when not specified.

  • Value = [TextLines|Otel]

--schema-otel-logs: Whether or not the OpenTelemetry Logs should be included. The option can be used with 'true' or 'false' argument.


--schema-otel-metrics: Whether or not the OpenTelemetry Metrics should be included. The option can be used with 'true' or 'false' argument.


--schema-otel-traces: Whether or not the OpenTelemetry Traces should be included. The option can be used with 'true' or 'false' argument.


--egress-sink-name: Egress Sink name. (Must be provided for a new Egress Route.)

  • Value = [string]

--notification-input: Notification input type. (Message notifications - Contains payload and metadata of individual messages. Batch completion notification - Contains a link to the blob prefix in the stream storage where all messages from the batch are stored.)

  • Value = [Messages|BatchCompletions]

--is-enabled: Specifies whether to enable or disable the routing of notifications to the Egress Sink. By default, the routing of notifications to the Egress Sink is enabled when creating a new Egress Route.To disable it, use the option '--is-enabled false'.


--with-filter: Specifies the condition to filter notifications sent to the Egress Sink. For example, by enabling the next condition 'starts_with(metadata.deviceId, 'test_') OR metadata.deviceId = 'my_awesome_device'', the platform will send to Egress Sink only those notifications, which coming from devices with IDs like 'test_device_1', 'my_awesome_device' etc. By default, the filtering is disabled for new routes. To disable already enabled one, use the option '--without-filter'.

  • Value = [string]

--without-filter: Do not use filtering.


--instance-label: Label for IoT Platform instance

  • Value = [string]

--workspace: Workspace ID / Name

  • Value = [string]