Configuration Reference
Version:4.9.1-SNAPSHOT
Micronaut Nats Config Properties
🔗Property | Type | Description | Default value |
---|---|---|---|
|
java.util.List |
An optional list of addresses |
|
|
java.lang.String |
the username for the connection |
|
|
java.lang.String |
the password for the connection |
|
|
java.lang.String |
the token for the connection |
|
|
int |
the max reconnection tries |
|
|
java.time.Duration |
time to wait between reconnect attempts |
|
|
java.time.Duration |
maximum time for initial connection |
|
|
java.time.Duration |
time between ping intervals |
|
|
long |
size of the buffer, in bytes, used to store publish messages during reconnect |
|
|
java.lang.String |
prefix to use for request/reply inboxes |
|
|
boolean |
whether or not to block echo messages, messages that were sent by this connection |
|
|
boolean |
whether or not the client should support for UTF8 subject names |
|
|
java.lang.String |
path to the credentials file to use for authentication with an account enabled server |
Property | Type | Description | Default value |
---|---|---|---|
|
java.util.List |
set the stream configurations for the jetstream. |
|
|
java.util.List |
set the keyvalue configurations. |
|
|
java.util.List |
set the object store configurations. |
Property | Type | Description | Default value |
---|---|---|---|
|
java.time.Duration |
||
|
java.lang.String |
||
|
java.lang.String |
||
|
boolean |
||
|
boolean |
Property | Type | Description | Default value |
---|---|---|---|
|
boolean |
create or update key/value store during startup. |
Property | Type | Description | Default value |
---|---|---|---|
|
java.lang.String |
||
|
int |
||
|
long |
||
|
int |
||
|
java.time.Duration |
||
|
io.nats.client.api.StorageType |
||
|
int |
||
|
io.nats.client.api.Placement |
||
|
boolean |
||
|
java.util.Map |
||
|
io.nats.client.api.Republish |
||
|
io.nats.client.api.Mirror |
||
|
java.time.Duration |
Property | Type | Description | Default value |
---|---|---|---|
|
boolean |
create store during startup. |
Property | Type | Description | Default value |
---|---|---|---|
|
java.lang.String |
||
|
long |
||
|
java.time.Duration |
||
|
io.nats.client.api.StorageType |
||
|
int |
||
|
io.nats.client.api.Placement |
||
|
boolean |
||
|
java.util.Map |
Property | Type | Description | Default value |
---|---|---|---|
|
java.util.List |
set the subjects. |
|
|
boolean |
create or update stream during startup. |
Property | Type | Description | Default value |
---|---|---|---|
|
java.lang.String |
||
|
io.nats.client.api.RetentionPolicy |
||
|
io.nats.client.api.CompressionOption |
||
|
long |
||
|
long |
||
|
long |
||
|
long |
||
|
java.time.Duration |
||
|
int |
||
|
io.nats.client.api.StorageType |
||
|
int |
||
|
boolean |
||
|
java.lang.String |
||
|
io.nats.client.api.DiscardPolicy |
||
|
java.time.Duration |
||
|
io.nats.client.api.Placement |
||
|
io.nats.client.api.Republish |
||
|
io.nats.client.api.SubjectTransform |
||
|
io.nats.client.api.ConsumerLimits |
||
|
io.nats.client.api.Mirror |
||
|
io.nats.client.api.Source |
||
|
boolean |
||
|
boolean |
||
|
boolean |
||
|
boolean |
||
|
boolean |
||
|
boolean |
||
|
java.util.Map |
||
|
long |
||
|
java.time.Duration |
||
|
boolean |
||
|
boolean |
||
|
boolean |
||
|
boolean |
Property | Type | Description | Default value |
---|---|---|---|
|
java.lang.String |
file path for the trust store |
|
|
java.lang.String |
password used to unlock the trust store |
|
|
java.lang.String |
type of keystore to use for connections |
|
|
java.lang.String |
the certificate path |