Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/morzhanov/go-mqs
Go Message Queue examples (ActiveMQ, Kafka, RabbitMQ)
https://github.com/morzhanov/go-mqs
Last synced: 5 days ago
JSON representation
Go Message Queue examples (ActiveMQ, Kafka, RabbitMQ)
- Host: GitHub
- URL: https://github.com/morzhanov/go-mqs
- Owner: morzhanov
- Created: 2021-10-13T19:47:55.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-10-17T20:11:55.000Z (about 3 years ago)
- Last Synced: 2024-11-08T00:52:35.795Z (about 2 months ago)
- Language: Go
- Size: 32.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Go Message queue examples
Go Message Queue examples (ActiveMQ, Kafka, RabbitMQ).
## Description
App contains simple req/res service which sends and receives messages through popular message queues.
## Structure
- `main` - main file to initialize and run message queues
- `config/.env` - contains environment variables
- `deploy/docker-compose.yml` - docker compose file with application dependencies
- `internal/activemq` - contains ActiveMQ req/res implementation
- `internal/rabbitmq` - contains RabbitMQ req/res implementation
- `internal/kafka` - contains Kafka req/res implementation
- `internal/mq` - contains MQ interface
- `internal/config` - parses and provides application configuration data## Running
1. `cd ./deploy`
2. `docker-compose up -d`
3. `cd ..`
4. `go run ./cmd/main.go`