pub.streaming:send

WmStreaming. Sends events to a streaming provider.

Input Parameters

connectionAliasName String Name of the streaming connection alias to use to send events. The streaming connection alias identifies the streaming provider to which the service sends events. The specified connectionAliasName must be used by the specified eventSpecificationName.
eventSpecificationName String Name of the event specification that defines the structure of the event, identifies the topic to which events are published, and indicates how to encode and decode event data. Each event specification is associated with a streaming connection alias. For information about creating event specifications, see Event Specifications .
events Document List Document (IData object) A document list of the events to send to the streaming provider.
  Key Description
  header Document Optional. Metadata about the event.
    Key Description
    timestamp String Optional. Timestamp to assign to the event. If timestamp value is not specified, at execution time, the streaming provider populates timestamp with the current clock time.
  key Object Optional.

The event key. The provided key must match the key data type set in the event specification.

  value Object Optional. The event value. The provided value must match the key data type set in the event specification.

Output Parameters

None.