Skip to content

ekmobile/nats-publish-consume-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nats-publish-consume-example

This example is used to find a minimal example for a publisher / consumer structure based upon https://pkg.go.dev/github.com/nats-io/[email protected]/jetstream#readme-basic-usage with NATS running in a Docker container.

Prerequisite

  • Docker Desktop
  • Golang

Usage

start nats

docker-compose up

run the publisher

cd publisher
go get
go run .

run the consumer

cd consumer
go get
go run .

Problem

the consumer does not display messages, although it should via the callback.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages