- https://docs.spring.io/spring-amqp/docs/current/reference/html/stream.html
- https://rabbitmq.github.io/rabbitmq-stream-java-client/stable/htmlsingle/
- https://rabbitmq.com/networking.html
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
docker exec demo-rabbit rabbitmq-plugins enable rabbitmq_stream
RabbitMQ GUI http://localhost:15672/
.
POST /api/message HTTP/1.1
Host: localhost:8081
Content-Type: application/json
Content-Length: 50
{
"username": "Zabba",
"title": "Mrs"
}