Questions tagged [rabbitmq]

RabbitMQ is an open-source message broker originally implementing the AMQP protocol with additional messaging protocols supported via a plug-in architecture. This tag should be used with questions involving the RabbitMQ server message broker product or questions concerning the source code and implementation of the RabbitMQ product. A specific protocol tag such as amqp or mqtt may also be appropriate as well as the OS and programming language being used.

Filter by
Sorted by
Tagged with
643 votes
17 answers
497k views

ActiveMQ or RabbitMQ or ZeroMQ or [closed]

We'd be interested to hear any experiences with the pros and cons of ActiveMQ vs RabbitMQ vs ZeroMQ. Information about any other interesting message queues is also welcome.
Abie's user avatar
  • 10.9k
539 votes
16 answers
250k views

When to use RabbitMQ over Kafka? [closed]

I've been asked to evaluate RabbitMQ instead of Kafka but found it hard to find a situation where a message queue is more suitable than Kafka. Does anyone know use cases where a message queue fits ...
Joe's user avatar
  • 12.5k
267 votes
2 answers
57k views

Why do we need message brokers like RabbitMQ over a database like PostgreSQL?

I am new to message brokers like RabbitMQ which we can use to create tasks / message queues for a scheduling system like Celery. Now, here is the question: I can create a table in PostgreSQL which ...
Yugal Jindle's user avatar
  • 44.9k
249 votes
12 answers
206k views

Deleting all pending tasks in celery / rabbitmq

How can I delete all pending tasks without knowing the task_id for each task?
nabizan's user avatar
  • 3,285
238 votes
15 answers
252k views

RabbitMQ / AMQP: single queue, multiple consumers for same message?

I am just starting to use RabbitMQ and AMQP in general. I have a queue of messages I have multiple consumers, which I would like to do different things with the same message. Most of the RabbitMQ ...
mikemaccana's user avatar
235 votes
4 answers
110k views

RabbitMQ and relationship between channel and connection

The RabbitMQ Java client has the following concepts: Connection - a connection to a RabbitMQ server instance Channel - ??? Consumer thread pool - a pool of threads that consume messages off the ...
user avatar
229 votes
6 answers
248k views

Can't access RabbitMQ web management interface after fresh install

I've installed the latest RabbitMQ server (rabbitmq-server-3.3.0-1.noarch.rpm) on a fresh Centos 5.10 VM according to the instructions on the official site. I've done this many times before during ...
T .'s user avatar
  • 4,914
226 votes
27 answers
210k views

Delete all the queues from RabbitMQ?

I installed rabbitmqadmin and was able to list all the exchanges and queues. How can I use rabbitmqadmin or rabbitmqctl to delete all the queues.
Cory's user avatar
  • 15.3k
180 votes
11 answers
222k views

How do I delete all messages from a single queue using the CLI?

How do I delete all messages from a single queue using the cli? I have the queue name and I want to clean it.
Bick's user avatar
  • 18.1k
173 votes
13 answers
122k views

RabbitMQ: Verify version of rabbitmq

How can I verify which version of rabbitmq is running on a server? Is there a command to verify that rabbitmq is running?
Hussain Fakhruddin's user avatar
158 votes
5 answers
226k views

What ports does RabbitMQ use?

What ports does RabbitMQ Server use or need to have open on the firewall for a cluster of nodes? My /usr/lib/rabbitmq/bin/rabbitmq-env is set below which I'm assuming are needed (35197). ...
bluemalkin's user avatar
  • 3,349
155 votes
8 answers
67k views

JMS and AMQP - RabbitMQ

I am trying to understand what JMS and how it is connected to AMQP terminology. I know JMS is an API and AMQP is a protocol. Here are my assumptions (and questions as well) RabbitMQ uses AMQP ...
Kevin Rave's user avatar
  • 14.1k
143 votes
6 answers
269k views

Is it possible to view RabbitMQ message contents directly from the command line?

Is it possible to view RabbitMQ message contents directly from the command line? sudo rabbitmqctl list_queues lists the queues. Is there any command like sudo rabbitmqctl list_queue_messages <...
Shears's user avatar
  • 1,589
143 votes
2 answers
121k views

RabbitMQ" What are "Ready" and "Unacked" types of messages?

I'm getting confused between these two types of messages in RabbitMQ. I've seen that some of my queues have 0 "Unacked" and 1000 "Ready" messages, while some have 1000 "Unacked" and 0 "Ready" ...
Anil Kumar's user avatar
  • 2,661
141 votes
4 answers
90k views

SQS vs RabbitMQ

I need to create a queue for processing. The queue itself is relatively low-volume. There might be about 1,000 writes to it per hour. The execution of each task might take about a minute each, and are ...
David542's user avatar
  • 108k
135 votes
18 answers
319k views

Spring AMQP + RabbitMQ 3.3.5 ACCESS_REFUSED - Login was refused using authentication mechanism PLAIN

I am getting below exception org.springframework.amqp.AmqpAuthenticationException: com.rabbitmq.client.AuthenticationFailureException: ACCESS_REFUSED - Login was refused using authentication ...
Javaboy's user avatar
  • 2,134
130 votes
3 answers
46k views

Why use Celery instead of RabbitMQ?

From my understanding, Celery is a distributed task queue, which means the only thing that it should do is dispatching tasks/jobs to others servers and get the result back. RabbitMQ is a message queue,...
Kar's user avatar
  • 6,205
126 votes
16 answers
161k views

How to open rabbitmq in browser using docker container?

This was probably asked already, but so far I can't find any detailed explanation at all, and the existing documentation seems as if it was written for some kind on psychic who supposed to know ...
Olegs Jasjko's user avatar
  • 1,978
124 votes
6 answers
128k views

Redis Vs RabbitMQ as a data broker/messaging system in between Logstash and elasticsearch [closed]

We are defining an architecture to collect log information by Logstash shippers which are installed in various machines and index the data in one elasticsearch server centrally and use Kibana as the ...
Salindaw's user avatar
  • 1,606
120 votes
7 answers
49k views

Difference between stream processing and message processing

What is the basic difference between stream processing and traditional message processing? As people say that kafka is good choice for stream processing but essentially kafka is a messaging framework ...
TechEnthusiast's user avatar
111 votes
16 answers
114k views

How to add initial users when starting a RabbitMQ Docker container?

Currently i am starting RabbitMQ Docker container using the default RabbitMQ image from DockerHub. Using the following commands. docker run --restart=always \ -d \ -e RABBITMQ_NODENAME=rabbitmq \ -v /...
Marco's user avatar
  • 15.6k
111 votes
3 answers
102k views

What are the limits of messages, queues and exchanges?

What are the allowed types of messages (strings, bytes, integers, etc.)? What is the maximum size of a message? What is the maximum number of queues and exchanges?
tuchk4's user avatar
  • 2,300
107 votes
15 answers
161k views

RabbitMQ 3.3.1 can not login with guest/guest

I have installed the latest version of RabbitMQ on a VPS Debian Linux box. Tried to get login through guest/guest but returned with the message login failed. I did a little research and found that for ...
Hamad Salahuddin's user avatar
105 votes
5 answers
139k views

How to reset user for rabbitmq management

Using rabbitmq, we can install management plugin. Then we access via browser using http://localhost:55672/ using guest:guest. The problem is, I can not login anymore because i changed password and ...
Superbiji's user avatar
  • 1,763
103 votes
16 answers
129k views

Deleting queues in RabbitMQ

I have a few queues running with RabbitMQ. A few of them are of no use now, how can I delete them? Unfortunately I had not set the auto_delete option. If I set it now, will it be deleted? Is there a ...
Phalgun's user avatar
  • 1,478
102 votes
5 answers
104k views

How do I set a number of retry attempts in RabbitMQ?

I am using RabbitMQ and I have a queue that holds email messages. My consumer service de-queues messages and attempts to send them. If, for any reason, my consumer cannot send the message, I would ...
user2689570's user avatar
  • 1,381
92 votes
12 answers
135k views

RabbitMQ creating queues and bindings from command line

If I have RabbitMQ installed on my machine, is there a way to create a message queue from the command line and bind it to a certain exchange without using a client? I think it is not possible, but I ...
Fanooos's user avatar
  • 2,768
89 votes
5 answers
158k views

How do I create or add a user to rabbitmq?

This seems like a question that should be easily be googleable. It is not though. Can anybody help? How do I create a new user for rabbitmq?
Tobias Gassmann's user avatar
89 votes
4 answers
84k views

RabbitMQ - Message order of delivery

I need to choose a new Queue broker for my new project. This time I need a scalable queue that supports pub/sub, and keeping message ordering is a must. I read Alexis comment: He writes: "...
Bick's user avatar
  • 18.1k
85 votes
7 answers
95k views

Performance comparison between ZeroMQ, RabbitMQ and Apache Qpid

I need a high performance message bus for my application so I am evaluating performance of ZeroMQ, RabbitMQ and Apache Qpid. To measure the performance, I am running a test program that publishes say ...
ahsankhan's user avatar
  • 951
83 votes
2 answers
41k views

RabbitMQ vs Socket.io? [closed]

I'm doing real time live web app development. Browser users should be able to communicate with eachother through a node.js server. One of the user writes a message and all other users will get it. I ...
ajsie's user avatar
  • 78.8k
82 votes
11 answers
71k views

RabbitMQ command doesn't exist?

OS: Mac OSX 10.9 I have rabbitmq installed via home brew and when I go to /usr/local/sbin and run rabbitmq-server it states that: rabbitmq-server: command not found even as sudo it states the same ...
user3379926's user avatar
  • 3,915
82 votes
16 answers
149k views

RabbitMQ started but can't access management interface

I have RabbitMQ installed and started. The service is running as well. However, when I try to open the management interface in firefox, I get this error: Firefox can't establish a connection to the ...
tehdoommarine's user avatar
82 votes
2 answers
17k views

NServiceBus and Rabbit MQ or Kafka

I am trying to learn messaging system. I have found that RabbitMq and NServiceBus are using together in few places. My questions are If I am using the RabbitMQ then why do i need NServiceBus? and ...
MJK's user avatar
  • 3,454
77 votes
7 answers
42k views

Handling long running tasks in pika / RabbitMQ

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 ...
jmacdonagh's user avatar
  • 3,991
76 votes
2 answers
32k views

Celery: When should you choose Redis as a message broker over RabbitMQ?

My rough understanding is that Redis is better if you need the in-memory key-value store feature, however I am not sure how that has anything to do with distributing tasks? Does that mean we should ...
Pig's user avatar
  • 2,082
74 votes
6 answers
22k views

Why use AMQP/ZeroMQ/RabbitMQ [closed]

as opposed to writing your own library. We're working on a project here that will be a self-dividing server pool, if one section grows too heavy, the manager would divide it and put it on another ...
Evil Spork's user avatar
  • 1,011
74 votes
3 answers
29k views

RabbitMQ: persistent message with Topic exchange

I am very new to RabbitMQ. I have set up a 'topic' exchange. The consumers may be started after the publisher. I'd like the consumers to be able to receive messages that have been sent before they ...
Julien's user avatar
  • 5,759
73 votes
7 answers
23k views

Why do we need to use rabbitmq

Why do we need RabbitMQ when we have a more powerful network framework in Python called Twisted. I am trying to understand the reason why someone would want to use RabbitMQ. Could you please provide ...
fear_matrix's user avatar
  • 4,932
72 votes
2 answers
38k views

Rabbitmq or Gearman - choosing a jobs queue [closed]

At work, we need to build a jobs server for things like sending emails, building PDFs, crunching some data, etc. Obviously, we'd like to build on some sort of generic queueing system. I'm familiar ...
brianz's user avatar
  • 7,308
72 votes
2 answers
70k views

RabbitMQ - How many queues can RabbitMQ handle on a single server?

What's the maximum number of queues that RabbitMQ can handle on a single server? Does it depend on RAM? Does it depends on erlang processes?
Raj Sf's user avatar
  • 1,408
70 votes
12 answers
112k views

RabbitMQ fails on Error: unable to connect to node rabbit@TPAJ05421843: nodedown

On a Windows 7 Enterprise machine, I made a fresh install of Erlang 17.4 and RabbitMQ 3.4.3 x64. The installation was successful and uneventful. I have not yet tried to create my first queue or ...
Brent Arias's user avatar
  • 29.8k
70 votes
1 answer
51k views

Comparison between RabbitMQ and MSMQ

Can I get the comparison between RabbitMQ and MSMQ. It will be helpful performance information on different factors are available.
N K's user avatar
  • 3,287
66 votes
6 answers
78k views

How to install rabbitmq management plugin (rabbitmq-plugins)

Brief: Is there a way to install rabbitmq-plugins via a ubuntu package? Details: I have rabbitmq running ok in my ubuntu system, and now I'm trying to monitor what's going on via the management ...
jd.'s user avatar
  • 4,653
65 votes
9 answers
170k views

How to restart RabbitMQ service

I am getting a strange error while restarting the rabbitmq service and because of that I am unable to restart RabbitMQ service. I got this message from EventViewer and have tried to find solution by ...
Shax's user avatar
  • 4,257
65 votes
9 answers
72k views

"node with name "rabbit" already running", but also "unable to connect to node 'rabbit'"

Rabbitmq server does not start, saying it's already running: $: rabbitmq-server Activating RabbitMQ plugins ... 0 plugins activated: node with name "rabbit" already running on "android-...
Jordan Warbelow-Feldstein's user avatar
65 votes
3 answers
36k views

Service Oriented Architecture - AMQP or HTTP

A little background. Very big monolithic Django application. All components use the same database. We need to separate services so we can independently upgrade some parts of the system without ...
jreid42's user avatar
  • 1,250
65 votes
2 answers
63k views

RabbitMQ difference between exclusive and auto-delete?

The "RabbitMQ in Action" book on page 19 gives these descriptions of exclusive and auto-delete: exclusive - When set to true, your queue becomes private and can only be consumed by your app. This ...
user782220's user avatar
64 votes
3 answers
77k views

RabbitMQ by Example: Multiple Threads, Channels and Queues

I just read RabbitMQ's Java API docs, and found it very informative and straight-forward. The example for how to set up a simple Channel for publishing/consuming is very easy to follow and understand. ...
user avatar
64 votes
2 answers
24k views

RabbitMQ use of immediate and mandatory bits

I am using RabbitMQ server. For publishing messages, I set the immediate field to true and tried sending 50,000 messages. Using rabbitmqctl list_queues, I saw that the number of messages in the queue ...
Gurpreet Singh's user avatar

1
2 3 4 5
289