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
2 answers

need help with this Kombu error

Pardon the copy and paste from the python interpreter but I'm trying to play with Kombu but I can't seem to create a consumer. Please help, I'm utterly in the dark here. >>> from kombu.messaging import Consumer, Producer >>> from kombu.entity import…
Ramy
  • 20,541
  • 41
  • 103
  • 153
0
votes
1 answer

Successful use of pidbox.Mailbox?

Has anyone used pidbox.Mailbox ? I am attempting to do something similar to that example, but that documentation is way out of date. I have managed to get something that pubishes messages to a django transport but from there they never are…
Nix
  • 57,072
  • 29
  • 149
  • 198
0
votes
2 answers

Identifying origin of rabbitmq messages

I'm using kombu to consume rabbitmq messages from multiple queues. For any given message, is it possible to determine which queue delivered it?
0
votes
1 answer

Is it possible to use kombu as client library for activeMQ?

Trying to switch from rabbitMQ to activeMQ keeping kombu library but my script just hang on. Does kombu supports activeMQ?
Giuseppe
  • 363
  • 5
  • 19
0
votes
1 answer

Is there a way to set a TOTAL message number limit in a RabbitMQ queue? x-max-length doesn't take into account the unacked messages

I need a queue with limited message inside considering not only message in queue but also the unacked ones. Is there a way to configure this server side? If yes is it possible using kobu as library? Thank you
Giuseppe
  • 363
  • 5
  • 19
0
votes
0 answers

Kombu 4.1.0 - Memory usage increase (leak?) on a worker when using kombu queues

I have implemented a worker using Kombu's SimpleQueue. The implementation is as given below. When I run this worker for a few hours on a Ubuntu 16.04 system with redis as the backend, I notice a gradual memory build up on the process. When I run…
sradhakrishna
  • 99
  • 1
  • 5
0
votes
0 answers

Move pdf file to directory using RabbitMQ and Kombu

I want to create several Python programs that use RabbitMQ and Kombu. The programs allow the producer to read pdf files and send them to the RabbitMQ database where the consumer can receive them and move them to a certain directory on their…
Jerry Bi
  • 321
  • 6
  • 24
0
votes
1 answer

no encoder installed for (u'json',) from kombu

I think I am missing a step somewhere but I've been looking around and cant find it. When I run my celery task, I get thrown this error message no encoder installed for (u'json',) when I call get_task.delay(args). Am i suppose to have my own custom…
hammies
  • 1,344
  • 2
  • 22
  • 46
0
votes
1 answer

ImportError: cannot import name OrderedDict; downgrade kombu

I am trying to install and import pytplot, which is a package that can plot IDL save files using python. I have Python 2.7 on Windows 10. If I try importing pytplot, I get an import error saying: ImportError: cannot import name OrderedDict. This…
0
votes
1 answer

Implementing RPC client with kombu for rabbitmq and it's direct reply-to feature

I'm implementing an rpc framework with kombu to be used with rabbit I want to use rabbitmq's direct reply-to feature but I can't find a way to implement it with kombu. The client need to consume on 'amq.rabbitmq.reply-to' queue before producing…
saadin
  • 91
  • 1
  • 8
0
votes
1 answer

After kombu upgrade getting <> is not JSON serializable for task_id

I'm getting ERROR EncodeError(TypeError('6JQAKHNMG9 is not JSON serializable',),)after upgrade. Successfully installed: amqp-2.1.4 billiard-3.5.0.2 celery-4.0.2 kombu-4.0.2 pytz-2017.2 (Initially required for Flower 0.9.1 installation) Was…
gogasca
  • 9,283
  • 6
  • 80
  • 125
0
votes
0 answers

celery kombu unresolved dependencies post python upgrade

I upgraded my ubuntu environment to 16.04 which also upgraded python to 2.7.12 My environment is as below: 1) Celery - 3.1.25 2) Django - 1.6.5 3) Kombu - 3.0.24 I was getting below errors while I tried to start my celery worker: File…
Sagar birla
  • 41
  • 1
  • 1
  • 6
0
votes
1 answer

Heroku: dbm.error: db type is dbm.gnu, but the module is not available

How do l fix the error below? Looks like it has to be installed by Heroku.Do l have to send an email to heroku to install? or nothing can be done about it? 2017-03-26T13:04:08.185159+00:00 heroku[beat.1]: Starting process with command `celery -A…
Ernest Appiah
  • 133
  • 2
  • 13
0
votes
1 answer

Could not connect to RabbitMQ from Python

I'm learning Python and I run into weird issue. I'm running RabitMQ on my macOS Sierra local box. Connecting to RabbitMQ server from python script always fails with socket timeout error. At same time I'm able to connect through the telnet. Running…
Max Chernopolsky
  • 617
  • 6
  • 17
0
votes
0 answers

integrating zmq into flask-socketio app as (kombu) message_queue transport

I am working on a Flask-SocketIO application that integrates with zmq. The basic premise of the app is that a zmq message is received by the Flask-SocketIO web server, then that zmq message is converted to a SocketIO message which is sent along to…
Eric S.
  • 320
  • 2
  • 11