phoenixframework / phoenix_pubsub_redis

The Redis PubSub adapter for the Phoenix framework
175 stars 66 forks source link

Emphasize that node_name must be unique on readme and docs #50

Closed msramos closed 4 years ago

msramos commented 4 years ago

I decided to open this pull request after I spent a good number of hours trying to debug why my pubsub was not working. The problem was that I was running several pods in kubernetes but they were not configured in an erlang cluster - they all were using the same value for --name (I know, I know)

I had read the docs of the redis adapter for phoenix pubsub a few times before I realized what was happening.

Hopefully this change will make it more obvious that node_name must be unique and save someone's time in the future.

mitchellhenke commented 4 years ago

Thank you!