Skip to content

kokizzu/rabbit1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rabbit1

testing rabbitmq publish, subscribe, reconnect

RMQ_DSN=amqp://guest:guest@127.0.0.1:5672 go run .

other env options:

  • CERT (string)
  • KEY (string)
  • CA_CERT (string)
  • PUB_INTERVAL_US (int, microsecond (µs) delay between publish, default: 100000 = 100ms = real 10 rps)
  • DEBUG (bool, print ok/failed publish/subscribe, default: false)
  • SUB_COUNT (int, subscriber count, default: 1)

note:

  • est rps - estimated rps, excluding delay between publish or subscribe
  • real rps - real rps, including delay between publish or subscribe

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages