spotf stream create-or-update
Create/Update Stream
Arguments
None.
Options
--stream-group-name
: Stream Group name
- Required.
- Value = [string]
--stream-name
: Stream name. It must be unique within the stream group. Examples: logs, images-experimental, default-stream.
- Required.
- Value = [string]
--concatenation-mode
: Stream concatenation mode. Should we automatically concatenate your messages in a batch?
- Value = [None|WithNewLines|WithoutNewLines]
--concatenation-max-staleness
: Stream concatenation max staleness. Specifies the maximum delay allowed for an ingested message to be concatenated into a batch. Default value is 10m.
- Value = [TimeSpan]
--with-batch-id-autofill-pattern
: Batch Id Auto Fill Pattern. Each message and batch need unique identification. You can set up so-called AutoFill patterns that will fill the IDs for you. In that case, you won’t need to send them with each message. It's a special string. Example: '{dateTime:yyyy-MM-dd}'.
- Value = [string]
--without-batch-id-autofill-pattern
: Do not use Batch Id Auto Fill Pattern.
--with-msg-id-autofill-pattern
: Message Id Auto Fill Pattern. Each message and batch need unique identification. You can set up so-called AutoFill patterns that will fill the IDs for you. In that case, you won’t need to send them with each message. It's a special string. Examples: '{dateTime:yyyy-MM-dd}_{sequenceId}', 'my-custom-id_{uuid}'.
- Value = [string]
--without-msg-id-autofill-pattern
: Do not use Message Id Auto Fill Pattern.
--with-batch-completion-timeout
: Batch Completion Timeout. The Batch is automatically completed if no messages are received for the specified length of time. Kubernetes-style format: <number><unit>, where <number> represents the numerical value of the duration, and <unit> represents the unit of time. Examples: '1h' (1 hour) , '5m' (5 minutes), '10s' (10 seconds), '2d3h30m' (2 days, 3 hours and 30 minutes)
- Value = [TimeSpan]
--without-batch-completion-timeout
: Do not use Batch Completion Timeout.
--with-validation
: Validate messages before persisting them. 'Discard' - discard messages that do not pass validation. 'DryRun' - process message as usual but add metadata to the message indicating whether it passed validation.
- Value = [DryRun|Discard]
--without-validation
: Do not use message payload validation.
--validation-json-schema
: Validation JSON schema.
- Value = [string]
--validation-json-schema-path
: File path to validation JSON schema in a JSON document file.
- Value = [FileInfo]
--inherited-storage
: Use storage inherited from the stream group. Default for a new stream.
--connection-string
: Connection string for the storage account to use instead of the one inherited from the stream group.
- Value = [string]
--blob-service-uri
: The Blob Storage service URI for the storage to use instead of the one inherited from the stream group. The platform will authenticate with Microsoft Entra ID using the platform service principal. This requires the platform service principal to have both the 'Storage Blob Data Contributor' and 'Storage Blob Data Reader' roles assigned.
- Value = [string]
--storage-skipping
: Enable storage skipping. The platform will not store any messages in stream storage, but will still deliver them to the configured egress sinks.
--instance-label
: Label for IoT Platform instance
- Value = [string]
--workspace
: Workspace ID / Name
- Value = [string]