Record -
nats
: ConnectionConfig
Represents the list of paramters required to establish a connection.
Fields
- host string
-
Remote server host name/IP.
- port int
-
Remote server port.
- clusterId string test-cluster
-
Name of the NATS server cluster.
- clientId string ballerina_client
-
Unique identifier for the client.
- connectionTimeout int 30
-
Number of seconds to hold an idle connection.
- maxPubAcksInFlight int 100
-
Number of messages which could be dispatched without receiving acks.
- ackTimeout int 30
-
Time (in seconds) to wait for an acknowledment before retrying.