Constants -
nats
- DEFAULT_URL string nats://localhost:4222
-
Default URL for NATS connections.
- NATS_ERROR string {ballerina/nats}Error
-
Represents the reason for the NATS module related errors.
- NEW_ONLY string NEW_ONLY
-
Specifies that message delivery should start with the messages, which are published after the subscription is created.
- LAST_RECEIVED string LAST_RECEIVED
-
Specifies that message delivery should start with the last (most recent) message stored for this subject.
- FIRST string FIRST
-
Specifies that message delivery should begin at the oldest available message for this subject.
- TIME_DELTA_START string TIME_DELTA_START
-
The key for the
TimeDeltaStart
type.
- SEQUENCE_NUMBER string SEQUENCE_NUMBER
-
The key for the
SequenceNumber
type.