Modeling Guide

NATS Producer

The NATS Producer operator receives a message from the input port and publishes it into NATS.

Configuration Parameters

Parameter

Type

Description

natsUrls

string

Mandatory. The NATS address.

Default: "nats://localhost:4222"

subject

string

Mandatory. The subject name to subscribe to.

Default: "natsProducer.subject"

numRetryAttempts

int

The number of attempts to retry.

Default: 0

retryPeriodInMs

int

The time period for each retry in milliseconds.

Default: 0

Input

Input

Type

Description

message

message

The stream of records to publish.

Output

None