Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't see the messages #25

Open
celvin opened this issue Feb 28, 2021 · 3 comments
Open

Can't see the messages #25

celvin opened this issue Feb 28, 2021 · 3 comments

Comments

@celvin
Copy link

celvin commented Feb 28, 2021

Hello I'm really interested in getting this working:

I've already installed rabbitMQ in Kubernetes with a Rabbitmq helm chart and modifying its values.yaml to include this plugin:

image

image

And it seems to up and running, but how can I see the Postgres messages that I'm sending with Notify?

I can catch the other messages but can't see (or don't know how) catch the PostgreSQL Notifications.

I'm using the prerelease version: v1.0.0a1

@celvin celvin changed the title Building latest version Testing in Kubernetes with a rabbitmq installed by helmchart Feb 28, 2021
@celvin celvin changed the title Testing in Kubernetes with a rabbitmq installed by helmchart Can't see the messages Feb 28, 2021
@gmr
Copy link
Owner

gmr commented Mar 1, 2021

So I would debug this by using psql to connect to the same database and issuing a LISTEN for the same "channel" in Postgres that you're notifying. If you see the messages there but not in Postgres, then something is off.

@gmr
Copy link
Owner

gmr commented Mar 1, 2021

Likewise, you can connect via psql and issue a NOTIFY for the same channel / binding key on the exchange and watch the queue for messages to show up.

@gmr
Copy link
Owner

gmr commented Mar 1, 2021

Also worth pointing out is any errors would show up in the RabbitMQ error logs.

Also, maybe a silly question, but did you declare a queue, and bind it to the exchange with the notification channel as the binding key?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants