jakubkulhan / bunny

Performant pure-PHP AMQP (RabbitMQ) sync/async (ReactPHP) library
MIT License
702 stars 102 forks source link

Cluster addresses – supported? #81

Open simPod opened 5 years ago

simPod commented 5 years ago

Hi, is there a way to connect to the cluster? I'm looking into something similar like setAddresses() in Spring framework

So I can provide bunny a list of my cluster nodes node1:5672,node2:5672,node3:5672

Thanks

jakubkulhan commented 5 years ago

Hello, unfortunately not, Client instance is always bound to single host:port pair. However, I plan to work on a new version in #79 that would support such use case.

simPod commented 5 years ago

@jakubkulhan thanks for info