package
module
Version:
v1.2.1
Opens a new window with list of versions in this module.
Published: Jul 6, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 5
Opens a new window with list of known importers.
README
¶
NATS JetStream
This plugin uses NATS with JetStream to send and receive events.
Documentation
¶
NewStream returns an initialized nats stream or an error if the connection to the nats
server could not be established.
Option is a function which configures options.
Address of the nats cluster.
ClientID sets the client id for the nats connection.
ClusterID sets the cluster id for the nats connection.
Logger sets the underlyin logger
SynchronousPublish allows using a synchronous publishing instead of the default asynchronous
TLSConfig to use when connecting to the cluster.
Options which are used to configure the nats stream.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.