Support these message queues:
- Amazon Simple Queue Service (SQS) at sqs
- Google Cloud Pub/Sub at pubsub
- Kafka: at segmentio/kafka-go, Shopify/sarama and confluent
- NATS at nats
- Active MQ at activemq
- RabbitMQ at rabbitmq
- IBM MQ at ibmmq
Please make sure to initialize a Go module before installing core-go/mq:
go get -u github.com/core-go/mq
Import:
import "github.com/core-go/mq"
Build for confluent:
go build -buildmode=exe main.go
- Consume a message from queue, then write the message to database (SQL, Mongo, Casandra, Dynamodb, Firestore, Elasticsearch)
- Support these databases
- SQL
- Mongo
- Casandra
- Dynamodb
- Firestore
- Elasticsearch
- Another sample to consume message and handle by batch is go-batch-subscription