RapidMQ alternatives and similar packages
Based on the "Messaging" category.
Alternatively, view RapidMQ alternatives based on common mentions on social networks and blogs.
-
sarama
DISCONTINUED. Sarama is a Go library for Apache Kafka. [Moved to: https://github.com/IBM/sarama] -
Centrifugo
Scalable real-time messaging server in a language-agnostic way. Self-hosted alternative to Pubnub, Pusher, Ably. Set up once and forever. -
Benthos
DISCONTINUED. Fancy stream processing made operationally mundane [Moved to: https://github.com/redpanda-data/connect] -
APNs2
⚡ HTTP/2 Apple Push Notification Service (APNs) push provider for Go — Send push notifications to iOS, tvOS, Safari and OSX apps, using the APNs HTTP/2 protocol. -
Uniqush-Push
Uniqush is a free and open source software system which provides a unified push service for server side notification to apps on mobile devices. -
amqp
An AMQP 0-9-1 Go client maintained by the RabbitMQ team. Originally by @streadway: `streadway/amqp` -
Chanify
Chanify is a safe and simple notification tools. This repository is command line tools for Chanify. -
PingMe
PingMe is a CLI which provides the ability to send messages or alerts to multiple messaging platforms & email. -
emitter
Emits events in Go way, with wildcard, predicates, cancellation possibilities and many other good wins -
Bus
🔊Minimalist message bus implementation for internal communication with zero-allocation magic on Emit -
go-mq
Declare AMQP entities like queues, producers, and consumers in a declarative way. Can be used to work with RabbitMQ. -
Ratus
Ratus is a RESTful asynchronous task queue server. It translated concepts of distributed task queues into a set of resources that conform to REST principles and provides a consistent HTTP API for various backends.
CodeRabbit: AI Code Reviews for Developers

Do you think we are missing an alternative of RapidMQ or a related project?
Popular Comparisons
README
RapidMQ
RapidMQ is a pure, extremely productive, lightweight and reliable library for managing of the local messages queue in the [Go programming language](http:golang.org).
Installation
go get github.com/sybrexsys/RapidMQ/queue
Requirements
- Need at least
go1.4
or newer.
Usage
Queue
Base structure in the base is Queue Queue is created with that function:
func CreateQueue(Name, StoragePath string, Log Logging, Factory WorkerFactory, Options *Options) (*Queue, error)
Parameters | Type | Description |
---|---|---|
Name | string | Queue name. Used for logging only |
StoragePath | string | Path to the disk storages' files |
Log | Logging | Interface is used to logging of the queue's events. If equal to nil, logging is ensent. Description bellow |
Factory | WorkerFactory | Interface for abstract factory of the workers. Description bellow |
Options | *Options | Options of the queue |
func (q *Queue) Insert(buf []byte) bool
Appends the message into the queue. In depends of the timeout's option either is trying to write message to the disk or is trying to process this message in the memory and writing to the disk only if timeout is expired shortly. Returns false if aren't processing / writing of the message in the during of the timeout or has some problems with writing to disk
func (q *Queue) Process(worker WorkerID, isOk bool)
That function must be called from the worker of the message. In depends of the isOk
parameter either messages are deleting from the queue or are marking as faulty and again processing after some timeout
func (q *Queue) Count() uint64
Returns the count of the messages in the queue
func (q *Queue) Close()
Stops the handler of the messages, saves the messages located in the memory into the disk, closes all opened files.
Message
Description of the structure that will be sent to worker
type Message struct {
ID StorageIdx
Buffer []byte
}
Member | Type | Description |
---|---|---|
ID | StorageIdx | ID of the message |
Buffer | []byte | Buffer with content of the message |
WorkerFactory
Worker factory is a structure that create workers for processing messages Your factory must support next interface:
type WorkerFactory interface {
CreateWorker() Worker
NeedTimeoutProcessing() bool
}
CreateWorker() Worker
Creates new worker for this factory with unique ID
NeedTimeoutProcessing() bool
Returns true if possible used some messages in one action (for example, collect large SQL script from lot of the small messages)
Worker
If you are using of your worker, he must support next interface
type Worker interface {
ProcessMessage(*Queue, *Message, chan Worker)
ProcessTimeout(*Queue, chan Worker)
GetID() WorkerID
Close()
}
ProcessMessage(*Queue, *Message, chan Worker)
Processes message that is stored in *Message
.
After it the worker must call function (*Queue).Process
with his unique identifier and with result of the processing, also must be pushed himself into chanal Worker
ProcessTimeout(*Queue, chan Worker)
Processing of the event when available messages is absent
After it the worker must call function (*Queue).Process
with his unique identifier and with result of the processing, also must send himself into chanal Worker
GetID() WorkerID
Returns unique identifier of the worker
Close()
Close is called when queue is finishing work with worker. Here you can close connection to database or etc.
Logging
If you are using of your logging system, it must support next interface
type Logging interface {
Trace(msg string, a ...interface{})
Info(msg string, a ...interface{})
Warning(msg string, a ...interface{})
Error(msg string, a ...interface{})
}
Author
Vadim Shakun: [email protected]
License
RapidMQ is under the Apache 2.0 license. See the [LICENSE](LICENSE) file for details.
*Note that all licence references and agreements mentioned in the RapidMQ README section above
are relevant to that project's source code only.