Yandex Cloud Data Streams icon

Yandex Cloud Data Streams

Send and manage data in Yandex Cloud Data Streams

Actions4

Record → Put

AI-generated

Summary

Send a single record to a specified Yandex Cloud Data Streams stream with configurable data format and partitioning options.

Inputs

  • Stream (required) — Select or specify the stream name to which the record will be sent.
  • Data Type (required) — Choose the format of the data being sent: either a plain string or JSON (which will be stringified).
  • Data (required) — Input the actual data to send to the stream; format depends on Data Type choice.
  • Partition Key (required) — Provide a key to determine which shard the data is assigned to, affecting stream partitioning.
  • Additional Fields — Optionally specify an explicit hash key for shard routing and/or a sequence number for ordering the record.

Output shape

a single record

Returns an object indicating success status, shard ID, sequence number, and encryption type of the submitted record. In case of errors, a failure JSON with an error message is returned if continue-on-fail is enabled.

Examples

Example 1: Send a JSON record to a specific stream with a user ID as partition key.

Select the stream by name or from list; set Data Type to JSON; enter JSON data under Data; specify Partition Key as a user identifier; optional fields can remain empty.

Links

Discussion