Questions tagged [kombu]

Kombu is an AMQP messaging framework for Python.

Kombu is an AMQP messaging framework for Python. Kombu provides a high-level API for messaging using the AMQP standard.

Allows application authors to support several message server solutions by using pluggable transports.

  • Supports multiple transports(Redis, Beanstalk, CouchDB, and MongoDB. SQLAlchemy and Django ORM)
  • Supports automatic encoding, serialization and compression of message payloads.
184 questions
0
votes
0 answers

Error occurred while adding a new consumer

I am getting following error when I am trying to add a new consumer(queue) from the current_app imported from celery by issuing the control command. The details of logged error are as follows: reply = current_app.control.add_consumer(queue_name,…
cedzz
  • 389
  • 2
  • 9
0
votes
0 answers

Kombu message passing: possible to aggregate multiple messages?

I'm working on putting a message passing system w/ Kombu together, but I ran into the following problem. Say I have messages that are being routed to routing keys 'x' and 'y'. This works great in situations where there are no dependencies between…
Shookit
  • 1,162
  • 2
  • 13
  • 29
0
votes
1 answer

Kombu on redis dropping messages

I'm putting together a producer/consumer setup using Kombu on Redis, but I'm running into an issue. If I start up a consumer and then launch the producer with range(10000), I can confirm that the producer has queued all 10k items, but not all 10k…
Shookit
  • 1,162
  • 2
  • 13
  • 29
0
votes
1 answer

creating rabbitmq vhost with kombu

I am looking for a way to create and configure vhosts in rabbitmq with kombu but found nothing in the documentations. Is there a way to do so? In addition - is there a permission / role in rabbitmq (other than admin) that allows to create vhosts?
Mr T.
  • 4,278
  • 9
  • 44
  • 61
0
votes
1 answer

Celery kombu fails after self.connections.acquire

When my celery service is running after 7-10 days I received this exception out of nowhere, this causes my Tasks not to be processed. A restart of celery fixes the problem. INTERNAL ERROR: RuntimeError('Acquire on closed pool',) Traceback (most…
gogasca
  • 9,283
  • 6
  • 80
  • 125
0
votes
0 answers

kombu consumed messages disappear

I have this code: from kombu.transport import pyamqp from kombu import Connection, Exchange, Queue, Producer, Consumer transport = pyamqp vhost = '/' host = '127.0.0.1' port = '5672' usr = 'guest' pwd = 'guest' conn =…
NarūnasK
  • 4,564
  • 8
  • 50
  • 76
0
votes
0 answers

How to create a click counter using Kombu and celery in Django

I'm trying to customize this tutorial for creating click counter using Kombu and Celery in Django. The tutorial explains how to do it for url's, but what I want to do is to create a Click model, define Posts as ForeignKey field and then each time…
sheshkovsky
  • 1,302
  • 3
  • 18
  • 41
0
votes
1 answer

Unable to send mail using celery with kombu as broker

I am new to celery trying to send email but I am unable to receive mail. settings.py import djcelery djcelery.setup_loader() BROKER_URL = 'django://' INSTALLED_APPS =…
Rama Krishna
  • 275
  • 3
  • 12
0
votes
2 answers

Kombu/Celery messaging

I have a simple application that sends & receives messages, kombu, and uses Celery to task the message. Kombu alon, I can receive the message properly. when I send "Hello", kombu receives "Hello". But when I added the task, what kombu receives is…
predator
  • 477
  • 2
  • 6
  • 22
0
votes
0 answers

Cannot import anything from kombu

I'm pretty confused here. I'm following the kombu docs word for word. I'm running inside of a virtual environment. Has anyone had a similar issue? (pipes)slim-2:consumers ryan$ pip install kombu Downloading/unpacking kombu Downloading…
Duke Silver
  • 1,539
  • 1
  • 17
  • 24
0
votes
1 answer

Kombu ConsumerMixin close queue to prevent fanout data reception

How do I close a Kombu ConsumerMixin queue connected to a fanout exchange so I don't accumulate data from the Publisher while my Consumer is not active? I'm using Kombu 3.0.24 (with RabbitMQ) in Python 2.7. Below is my code for the two classes. I'd…
proximous
  • 617
  • 1
  • 10
  • 28
0
votes
1 answer

Runtime error with kombu on Mac OS 10.9.5

I get a strange error when trying to use Celery from python on OS X 10.9.5. This used to work, but it's now (apparently) failing to use some C library when importing kombu.five. ~$ python Python 2.7.8 (default, Aug 24 2014, 21:26:19) [GCC 4.2.1…
calys
  • 371
  • 1
  • 5
  • 14
0
votes
1 answer

Celery Flower Is Able To Shutdown Worker But Unable To Restart It

I have installed Celery, Django-Celery, Kombu & Flower. Celery Flower is monitoring fine. It is able to shutdown worker(s) but unable to restart them. Flower responses: [I 140903 15:49:12 web:1856] 200 GET / (127.0.0.1) 77.49ms [I 140903 15:49:13…
Chillar Anand
  • 27,936
  • 9
  • 119
  • 136
0
votes
1 answer

Kombu-python - force blocking/synchronous behavior (or processing a message only when the previous finished)

I have Kombu processing a rabbitmq queue and calling django functions/management commands etc. My problem is that I have an absolute requirement for correct order of execution. tha handler for message 3 can never run before the handler for message1…
alonisser
  • 11,542
  • 21
  • 85
  • 139
0
votes
1 answer

Celery not connecting to Redis broker: Connection to broker lost

I'm trying to get Redis to work as a broker for my Celery 3.0.19 install on Django. I see that redis-server is running on port 6379. When I run a simple Celery test, I get the following stack trace: Ubuntu Lucid 10.0.4 Celery 3.0.19 celery -A…
samonderous
  • 649
  • 1
  • 10
  • 22
1 2 3
12
13