Nats
Last updated
Last updated
Kubemq Nats target connector allows services using kubemq server to access Nats messaging services.
The following are required to run the Nats target connector:
kubemq cluster
Nats server
kubemq-targets deployment
Nats target connector configuration properties:
Example:
Query request data setting:
Example:
Properties Key
Required
Description
Example
url
yes
nats connection host
"localhost:1883"
subject
yes
set subject name
any string
username
no
set nats username
"username"
password
no
set nats password
"password"
token
no
set nats token
"my_token"
tls
no
set if tls is needed
"false","true"
cert_file
no
tls certificate file in string format
"my_file"
cert_key
no
tls certificate key in string format
"my_key"
timeout
no
connection timeout in seconds
"130"
Data Key
Required
Description
Possible values
data
yes
data to publish
base64 bytes array