https://github.com/thomasboom89/simple-http-message-queue
This is a simple message queue / message broker based on http and grpc
https://github.com/thomasboom89/simple-http-message-queue
go grpc htt message-queue
Last synced: 7 months ago
JSON representation
This is a simple message queue / message broker based on http and grpc
- Host: GitHub
- URL: https://github.com/thomasboom89/simple-http-message-queue
- Owner: ThomasBoom89
- License: gpl-3.0
- Created: 2024-04-09T15:22:27.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-10T17:32:30.000Z (about 1 year ago)
- Last Synced: 2025-03-10T18:41:38.373Z (about 1 year ago)
- Topics: go, grpc, htt, message-queue
- Language: Go
- Homepage:
- Size: 110 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Simple Http Message Queue
This is a simple message queue / message broker based on http


## Setup
### Docker
Modify compose.yml depending on your needs (reverse proxy config, port mapping etc.)
Then start the docker container via
```zsh
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.