Bug/Doc: Producer connection refused if not using .load_balancer_mode(true)
#228
Labels
bug
Something isn't working
.load_balancer_mode(true)
#228
Describe the bug
This is probably more an information to add to the doc/examples than a bug per say.
A hint in the error message could also save some time :)
I am hosting a RabbitMQ instance in K8s, not using a LoadBalancer but using Traefik.
Running a consumer with:
works fine.
Running a producer with the same:
fails with:
Error: Client(Io(Os { code: 61, kind: ConnectionRefused, message: "Connection refused" }))
The producer however does connect sucessfully when using:
Reproduction steps
see above
Expected behavior
Hint in the doc/error message about
.load_balancer()
.I did not find any other mention other than this PR.
Additional context
No response
The text was updated successfully, but these errors were encountered: