Skip to content

Latest commit

 

History

History

nats-jetstream

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

NATS JetStream

Usage

kustomize build . | kubectl apply -f -

Test

Start a subscription:

kubectl -n infra exec -ti nats-box -- nats sub -s nats://o7N95haCEk5kmoae@jetstream:4222 test.demo

Publish 5 messages and check whether we could receive them:

kubectl -n infra exec -ti nats-box -- nats pub -s nats://o7N95haCEk5kmoae@jetstream:4222 test.demo "message {{.Count}} @ {{.TimeStamp}}" --count=5