Skip to content

Mikbac/RabbitMQ-Streams-Demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RabbitMQ-Streams-Demo

RabbitMQ - Docker

Step 1

For Windows:

docker run -d -p 5672:5672 -p 5552:5552 -p 15672:15672 --name demo-rabbit -e RABBITMQ_DEFAULT_USER=guest -e RABBITMQ_DEFAULT_PASS=guest -e RABBITMQ_SERVER_ADDITIONAL_ERL_ARGS="-rabbitmq_stream advertised_host localhost" rabbitmq:3.11.3-management

For Linux:

docker run -d \
  -p 5672:5672 \
  -p 5552:5552 \
  -p 15672:15672 \
  --name demo-rabbit \
  -e RABBITMQ_DEFAULT_USER=guest \
  -e RABBITMQ_DEFAULT_PASS=guest \
  -e RABBITMQ_SERVER_ADDITIONAL_ERL_ARGS='-rabbitmq_stream advertised_host localhost' rabbitmq:3.11.3-management

Step 2

docker exec demo-rabbit rabbitmq-plugins enable rabbitmq_stream

RabbitMQ - GUI

RabbitMQ GUI http://localhost:15672/.

Test request

POST /api/message HTTP/1.1
Host: localhost:8081
Content-Type: application/json
Content-Length: 50

{
    "username": "Zabba",
    "title": "Mrs"
}

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages