Explore NATS Pub/Sub
Prerequisites
1. Start the NATS server
2. Start a shell or command prompt session
3. CD to the Go client examples directory
4. Run the client subscriber program
5. Start another shell or command prompt session
6. CD to the examples directory
7. Publish a NATS message
8. Verify message publication and receipt
9. Publish another message
10. Start another shell or command prompt session
11. CD to the examples directory
12. Start a second client subscriber program
13. Publish another message using the publisher client
14. Start another shell or command prompt session
15. CD to the examples directory
16. Subscribe to a different subject
17. Update the last subscriber to use a wildcard
18. Publish another message
最后更新于