Reading and writing specific data from a queue #1442
Unanswered
codinho5672
asked this question in
Q&A
Replies: 2 comments
-
I have this bookmarked to investigate. I have been very busy supporting RabbitMQ customers who pay for support. |
Beta Was this translation helpful? Give feedback.
0 replies
-
What would help me out is if you could provide a git repository with a complete program that I can run, instead of the non-running snippet you have provided. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm very new to coding and currently working on a project to automatically create and populate queues and shovels, or precisely the other way around, to read data from these two.
Initially, all IPs with RabbitMQ installed are being captured, and the queues contained on them are being read.
Queue name = Shovel name
However, I am struggling to read the following data from or into them:
From the queue: Type, Features, and from the queue's bindings, "from" and "Routingkey."
And the following from the shovel: Protocol, URI, Endpoint (for both Source and Shovel).
This is my current approach:
def read_rabbitmq_data(ip_address):
credentials = pika.PlainCredentials('guest', 'guest')
parameters = pika.ConnectionParameters(ip_address, '/', credentials)
Thank you very much for the help.
Beta Was this translation helpful? Give feedback.
All reactions