Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 681 Bytes

README.md

File metadata and controls

13 lines (11 loc) · 681 Bytes

nats-publish-user-info

An example of a publisher for the NATS message queue (not streaming) sending different user information. Correlates to other consumers in my repo area that pull user data.

Running the NATS docker images

  • docker run --rm --name nats-main -p 4222:4222 -p 6222:6222 -p 8222:8222 nats
  • this is the default and lets you run a NATS server version 1.2.0 (as of 8/2018)
  • just runs in memory and no streaming (that is separate)

What is required

  • .NET Core 2.x
  • running dotnet add package NATS.Client to add the package
  • dotnet restore to pull in all required libraries
  • The C# NATS client library available at https://github.com/nats-io/csharp-nats