| Field and Description |
|---|
| io.nats.client.JetStreamOptions.DEFAULT_TIMEOUT
Not used anymore
|
| io.nats.client.api.ConsumerConfiguration.DURATION_MIN |
| io.nats.client.Options.MINIMUM_SOCKET_READ_TIMEOUT_GT_CONNECTION_TIMEOUT
No longer enforcing a minimum
|
| io.nats.client.Options.MINIMUM_SOCKET_WRITE_TIMEOUT_GT_CONNECTION_TIMEOUT
No longer enforcing a minimum compared to the connection timeout
|
| io.nats.client.PublishOptions.UNSET_STREAM
Just use null to unset
Use this variable to unset a stream in publish options.
|
| Method and Description |
|---|
| io.nats.client.PushSubscribeOptions.bind(String)
This method resolves to
PushSubscribeOptions.stream(String) as bind has a different meaning
and requires both stream and consumer name |
| io.nats.client.ConnectionListener.connectionEvent(Connection, ConnectionListener.Events)
use new api that gives additional details
Connection related events that occur asynchronously in the client code are
sent to a ConnectionListener via a single method. The ConnectionListener can
use the event type to decide what to do about the problem.
|
| io.nats.client.KeyValueManagement.getBucketInfo(String)
Use
KeyValueManagement.getStatus(String) instead. |
| io.nats.client.JetStreamStatusException.getDescription() |
| io.nats.client.api.ApiStats.getErrors()
Deprecated, replaced with getErrorErroredRequests
API requests that resulted in an error response
|
| io.nats.client.api.StreamConfiguration.getMaxMsgSize()
the server value is a 32-bit signed value. Use
StreamConfiguration.getMaximumMessageSize() instead. |
| io.nats.client.api.KeyValueConfiguration.getMaxValueSize()
the server value is a 32-bit signed value. Use
KeyValueConfiguration.getMaximumValueSize() instead. |
| io.nats.client.api.KeyValueStatus.getMaxValueSize()
the server value is a 32-bit signed value. Use
KeyValueStatus.getMaximumValueSize() instead. |
| io.nats.client.api.AccountTier.getMemory()
use getMemoryBytes instead
Memory Storage being used for Stream Message storage in this tier.
|
| io.nats.client.Options.getPassword()
converts the char array to a string, use getPasswordChars instead for more security
|
| io.nats.client.api.PurgeResponse.getPurgedCount()
Returns the number of items purged from the stream
This method is replaced since the purged value is a long
value, not an int value
See
PurgeResponse.getPurged() instead. |
| io.nats.client.api.AccountTier.getStorage()
use getStorageBytes instead
File Storage being used for Stream Message storage in this tier.
|
| io.nats.client.PublishOptions.getStream()
this field isn't really very useful since it's used after the publish
Gets the name of the stream to check after the publish has succeeded
|
| io.nats.client.Options.getToken()
converts the char array to a string, use getTokenChars instead for more security
|
| io.nats.client.api.ApiStats.getTotal()
Deprecated, replaced with getTotalApiRequests
Total number of API requests received for this account
|
| io.nats.client.Options.getUsername()
converts the char array to a string, use getUserNameChars instead for more security
|
| io.nats.client.StatisticsCollector.incrementInBytes(long)
Was always called with incrementIn. Replaced with incrementIn(long bytes)
Increment the total number of message bytes that have come in to this connection.
|
| io.nats.client.StatisticsCollector.incrementInMsgs()
Was always called with incrementInBytes. Replaced with incrementIn(long bytes)
Increments the total number of messages that have come in to this connection.
|
| io.nats.client.StatisticsCollector.incrementOutBytes(long)
Was always called with incrementOut. Replaced with incrementOut(long bytes)
Increment the total number of message bytes that have gone out of this connection.
|
| io.nats.client.StatisticsCollector.incrementOutMsgs()
Was always called with incrementOutBytes. Replaced with incrementOut(long bytes)
Increments the total number of messages that have gone out of this connection.
|
| io.nats.client.api.StreamConfiguration.isAllowMessageTtl()
Prefer getAllowMessageTtl
Whether Allow Message TTL is set
|
| io.nats.client.Message.isUtf8mode()
because the mode doesn't matter
if is utf8Mode
|
| io.nats.client.api.StreamConfiguration.Builder.maxMsgSize(long)
the server value is a 32-bit signed value. Use
StreamConfiguration.Builder.maximumMessageSize(int) instead. |
| io.nats.client.api.KeyValueConfiguration.Builder.maxValueSize(long)
the server value is a 32-bit signed value. Use
KeyValueConfiguration.Builder.maximumValueSize(int) instead. |
| io.nats.service.ServiceBuilder.schemaDispatcher(Dispatcher)
No longer used, see
ServiceEndpoint.Builder.endpointMetadata(Map) instead |
| io.nats.client.Options.setOldRequestStyle(boolean)
Use Builder
|
| io.nats.client.PublishOptions.Builder.stream(String)
Not a very useful function
Sets the stream name to expect the pub ack to have.
This really should never be an issue and it does
not prevent the message from being published,
it's an exception after the fact
|
| io.nats.client.Options.Builder.token(String)
use the char[] version instead for better security
|
| Constructor and Description |
|---|
| io.nats.client.JetStreamApiException(ApiResponse<?>)
Prefer to construct with JetStreamApiException(@NonNull Error)
Construct an exception with the response from the server.
|
| io.nats.client.api.MessageInfo(Message)
This signature was public for unit testing but is no longer used.
|