Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 947 Bytes

README.md

File metadata and controls

31 lines (19 loc) · 947 Bytes

Simple Http Message Queue

This is a simple message queue / message broker based on http

Go License

Setup

Docker

Modify compose.yml depending on your needs (reverse proxy config, port mapping etc.) Then start the docker container via

 make live

Usage

You can publish messages with http POST on /{topic}/publish message must be sent in plaintext

To receive messages you can http GET on /{topic}/subscribe or connect via websocket to /{topic}/ws On the websocket you need to send "next" in plaintext to get a new message

You can use the gRPC endpoints to publish and subscribe to messages, see internal/grpc/messagebroker.proto

License

Simple Http Message Queue
Copyright (C) 2024 ThomasBoom89. GNU GPLv3 license.