Skip to main content

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]

--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.


--instance-label: Label for IoT Platform instance

  • Value = [string]

--workspace: Workspace ID / Name

  • Value = [string]