Project to experiment with consistent hash exchange in RabbitMQ
In each experiment the invidiual go source file is an independent binary. Please build them separately using the command:
go build <file.go>
This means this project isn't go-gettable
Generates messages with different keys and sequence number. Sends to a generic queue which can have multiple consumers. The messages are consumed by consumers in round-robin.
Use consistent hash exchange to distribute messages with same key to same consumer. Messages are processed in order.
Stop unbinds the queue from the exchange.
Consistent hash and exclusive queue.
Shows how when a slow consumer is involved crashing consumer results in lost message.