pika Questions

2

Solved

I know that we can do this to list queue in a rabbitmq: rabbitmqctl list_queues but how can I do this via pika?
Clytemnestra asked 11/3, 2012 at 3:56

2

Solved

I'm using pika in a kubernetes cluster and consuming messages from a queue, which triggers initiating a function in a new thread. However RabbitMQ seems crash, these are the best logs I've found so...
Hypogenous asked 23/12, 2020 at 11:9

3

Solved

I am finding it impossible to set up an encrypted connection with a RabbitMQ broker using python's pika library on the client side. My starting point was the pika tutorial example here but I cannot...
Byrom asked 15/10, 2019 at 21:8

3

I am using Python which is using RabbitMQ for input and output. I am able to run my script locally without any errors but when I try to Dockerize that script and run it it's giving me the following...
Loma asked 21/12, 2021 at 11:3

6

Going through the Rabbit MQ Pika HelloWorld tutorial found here: https://www.rabbitmq.com/tutorials/tutorial-one-python.html The problem is, I keep getting this error whenever I run my receive scri...
Spirituel asked 17/4, 2019 at 0:9

0

I use pika basic_get method to get message from rabbitmq and basic_ack method to do ack. import pika connection = pika.BlockingConnection( pika.ConnectionParameters( host="rabbitmq", ...
Riboflavin asked 4/5, 2023 at 10:17

2

Solved

I have the following code where I initialize a consumer listening to a queue. consumer = MyConsumer() consumer.declare_queue(queue_name="my-jobs") consumer.declare_exchange(exchange_name=...
Sinusoid asked 7/7, 2022 at 12:36

2

I am using an external service (Service) to process some particular type of objects. The Service works faster if I send objects in batches of 10. My current architecture is as follows. A producer b...
Tinfoil asked 29/5, 2014 at 12:12

2

In my unit test, I want to simply start consuming, publish a message, and receive a response back and assert if the response is what I expect it to be. However, I have been trying to do this for ho...
Trillium asked 25/4, 2020 at 3:12

3

I need some help. I have this code below and the logs tell me that I'm not passing the durable parameter, but as you can see I'm passing. I have tried everything and there is always the same mistak...
Wame asked 17/7, 2018 at 15:54

2

I have hard times to demonstrate that the consumer_timeout setting is working as expected. I may have done things wrong or misunderstood the consumer_timeout behavior. All my code for testing is av...
Action asked 2/2, 2022 at 15:5

3

I am trying to convert my code to send rabbitmq messages via Pika instead. I am having a lot of trouble understanding how to send a simple message using an asynchronous connection (such as SelectCo...
Hubris asked 19/5, 2015 at 17:30

2

Solved

I'm new to rabbitmq and pika, and is having trouble with stopping consuming. channel and queue setting: connection = pika.BlockingConnection(pika.ConnectionParameters('localhost')) channel = conn...
Clingy asked 23/12, 2014 at 16:21

0

i have an issue that happens only on my publisher side of pika. the architecture of the project: - Kubernetes cluster: - Flask Server Pod: - publisher running - Consumer Pod: - Consumer Running...
Arnoldoarnon asked 15/12, 2021 at 11:29

2

Solved

I have a task queue in RabbitMQ with multiple producers (12) and one consumer for heavy tasks in a webapp. When I run the consumer it starts dequeuing some of the messages before crashing with this...
Hypogeous asked 24/10, 2018 at 15:52

3

I'm trying to constantly listen for the queue, but after about a minute (assuming my queue is empty ) I got disconnected with this error: DEBUG:pika.adapters.blocking_connection:Outbound buffer si...
Sewellel asked 23/7, 2013 at 13:35

2

Solved

How do you ensure that messages get delivered with Pika? By default it will not provide you with an error if the message was not delivered succesfully. In this example several messages can be sent...
Nigeria asked 20/6, 2013 at 21:42

4

Solved

I have two, separate RabbitMQ instances. I'm trying to find the best way to listen to events from both. For example, I can consume events on one with the following: credentials = pika.PlainCreden...
Widmer asked 16/2, 2015 at 20:52

7

Solved

We're trying to set up a basic directed queue system where a producer will generate several tasks and one or more consumers will grab a task at a time, process it, and acknowledge the message. The...
Yarrow asked 28/1, 2013 at 21:58

6

Solved

I installed pika for python running on a mac sudo pip install pika==0.9.8 I make sure is installed, this is the response when trying to reinstall, Requirement already satisfied (use --upgrade t...
Chordate asked 30/10, 2013 at 4:9

1

The example here shows how to create both client & server in python using Remote procedure call (RPC). But I can't imagine how the FastAPI service might be a server to consume requests from RCP...
Obidiah asked 5/1, 2021 at 21:31

3

Solved

I am using rabbitmq to facilitate some tasks from my rabbit server to my respective consumers. I have noticed that when I run some rather lengthy tests, 20+ minutes, my consumer will lose contact w...
Guessrope asked 8/8, 2018 at 17:55

3

searched through stackoverflow and posting this question because no solution worked for me and my question might be different from other question. I am writing a script which gets an article from ...
Mozell asked 2/1, 2019 at 8:46

3

I am trying to create a consumer that would subscribe to multiple queues, and then process messages as they arrive. The problem is that when there is some data already present in the first queue,...
Wildwood asked 1/7, 2014 at 12:28

4

I tried to send message and receive message using RabbitMQ. I dont have computer science background, the terms I used could not be very accurate. I try to copy the tutorial file: When submitting my...
Inelegance asked 19/5, 2016 at 10:53

© 2022 - 2024 — McMap. All rights reserved.