08 June 2021

#Rabbitmq

RabbitMQ
What is Messaging?
What is RabbitMQ?
What is Advanced Message Queuing Protocol (AMQP)?
What is an exchange in RabbitMQ?
What is routing key in RabbitMQ?
What is Erlang ? Why is it required for RabbitMQ?
What is Spring Cloud Stream? What is the need for it?
What are the types of exchanges available in RabbitMQ?
What is STOMP?
What is a Dead Letter Queue?
What Is binding And routing Key?
What is a RabbitMQ channel?
What is a dead letter queue in rabbitmq?
What is Exchange?
What is RabbitMQ Vhost?
What is Dead Letter Exchange in Rabbitmq?
What is Erlang ? Why is it required for RabbitMQ ?
What are the different types of exchange types in RabbitMQ?
What is a Server in Rabbitmq?
What ports does RabbitMQ use?
What is ZeroMQ?
Why choose RabbitMQ?
Which Protocol RabbitMQ uses?
How to install RabbitMQ?
How to integrate RabbitMQ with Spring Boot?
How to verify RabbitMQ version?
How to delete all RabbitMQ queues?
How to implement Chat Application using Spring Boot + WebSocket + RabbitMQ?
How to implement Retry and Error Handling for RabbitMQ?
How to consume messages from RabbitMQ using Spring Boot?
How to implement RabbitMQ retry mechanism?
How RabbitMQ differs from ActiveMQ?
How to delete all queues in RabbitMQ ?
How can we verify RabbitMQ version?
How do we stop the RabbitMQ server on localhost?
How to restart RabbitMQ service?
When and why to use RabbitMQ?
RabbitMQ
  • RabbitMQ is an AMQP (Advanced Messaging Queuing Protocol) message broker.
  • It supports multiple messaging protocols, message queuing, delivery acknow led gement, flexible routing to queues and multiple exchange types
  • RabbitMQ can be deployed with Docker, Puppet, Chef and BOSH
  • RabbitMQ can be deployed as clusters for high availa bility and can be federated across multiple availa bility zones and regions
Protocol Support
  • AMQP - It is a default implementation in RabbitMQ
  • MQTT - Used for light scenarios. Binary exchange.
  • STOMP - Text-based data exchange
  • HTTP - Our very popular internet protocol
  • While Kafka supports Binary protocol over TCP.
Key Terms
  • Producer - a programm that sends messages.
  • Consumer - a programm that reads messages.
  • Publishers
  • Exchange - takes a message from producers and routes it into zero or more queues.
  • Routes
  • Queue - a buffer that stores messages.
  • Topics
  • Subscribers
  • Bindings - rules that exchanges use to route messages to queues.
Exchange types
  • default - exchange with no name pre-declared by the broker. Every queue that is created is automatically bound to it with a routing key which is the same as the queue name.
  • direct - delivers messages to queues based on the message routing key. It?s ideal for the unicast routing of messages. It?s often used to distribute tasks between multiple workers.
  • topic - routes messages to one or many queues based on matching between a message routing key and the pattern that was used to bind a queue to an exchange. The limitation for routing key is 255 bytes.
  • fanout - routes messages to all of the queues that are bound to it and the routing key is ignored
  • headers- routes multiple attributes that are more easily expressed as message headers than a routing key. routing key is ignored.

No comments:

Post a Comment

Most views on this month