Skip to content

An example of using NATS JetStream Key/Value Store and Micro

License

Notifications You must be signed in to change notification settings

peterhellberg/butts-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

butts-service 🍑

An example of using NATS JetStream Key/Value Store and Micro

Requirements

Usage

Tip

Running NATS with JetStream enabled under docker can be done like so: docker pull nats:latest and then: docker run --rm -it --name nats-server -d -p 4222:4222 nats -js

If you just want to use go then go run github.com/nats-io/nats-server/v2@v2.10.22 -js

If you have a NATS Server (with JetStream 🚀 enabled) on localhost:4222 then:

go run github.com/peterhellberg/butts-service@latest

Now you should be able to run:

go run github.com/nats-io/natscli/nats@latest req svc.butts --count 100 ""

About

An example of using NATS JetStream Key/Value Store and Micro

Topics

Resources

License

Stars

Watchers

Forks