How to reset user for rabbitmq management

You can access the user-management with rabbitmqctl and use the command: add_user {username} {password} or more preferably maybe edit an existing user, or set the permissions for the new user with: set_permissions [-p vhostpath] {user} {conf} {write} {read} For example use the following commands: (it is important to perform these three steps even when creating … Read more

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

There are no such feature like retry attempts in RabbitMQ (as well as in AMQP protocol). Possible solution to implement retry attempts limit behavior: Redeliver message if it was not previously redelivered (check redelivered parameter on basic.deliver method – your library should have some interface for this) and drop it and then catch in dead … Read more

Deleting queues in RabbitMQ

If you do not care about the data in management database; i.e. users, vhosts, messages etc., and neither about other queues, then you can reset via commandline by running the following commands in order: WARNING: In addition to the queues, this will also remove any users and vhosts, you have configured on your RabbitMQ server; … Read more

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

You can create a simple Dockerfile that extends the functionality of the basic image and creates a default user. The Docker file you need is the following: FROM rabbitmq # Define environment variables. ENV RABBITMQ_USER user ENV RABBITMQ_PASSWORD user ENV RABBITMQ_PID_FILE /var/lib/rabbitmq/mnesia/rabbitmq ADD init.sh /init.sh RUN chmod +x /init.sh EXPOSE 15672 # Define default command … Read more

Difference between stream processing and message processing

In traditional message processing, you apply simple computations on the messages — in most cases individually per message. In stream processing, you apply complex operations on multiple input streams and multiple records (ie, messages) at the same time (like aggregations and joins). Furthermore, traditional messaging systems cannot go “back in time” — ie, they automatically … Read more

How to open rabbitmq in browser using docker container?

You are using the wrong image which doesn’t have the rabbitmq_management plugin enabled. Change rabbitmq:latest to rabbitmq:management. On dockerhub they are using the command: docker run -d –hostname my-rabbit –name some-rabbit rabbitmq:3-management If you want to go to the UI on localhost:15672 make sure to expose the port by adding -p 15672:15672 to the above … Read more

What are the limits of messages, queues and exchanges?

Theoretically anything can be stored/sent as a message. You actually don’t want to store anything on the queues. The system works most efficiently if the queues are empty most of the time. You can send anything you want to the queue with two preconditions: The thing you are sending can be converted to and from … Read more

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

After evaluating both Redis and RabbitMQ I chose RabbitMQ as our broker for the following reasons: RabbitMQ allows you to use a built in layer of security by using SSL certificates to encrypt the data that you are sending to the broker and it means that no one will sniff your data and have access … Read more

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

I am sure what Artem Bilan has explained here might be one of the reasons for this error: Caused by: com.rabbitmq.client.AuthenticationFailureException: ACCESS_REFUSED – Login was refused using authentication mechanism PLAIN. For details see the but the solution for me was that I logged in to rabbitMQ admin page (http://localhost:15672/#/users) with the default user name and … Read more