Cloud-native, distributed messaging and streaming
open sourceApache-2.0self-hostablefree
Apache Pulsar is an open source distributed messaging and streaming platform. Messages can be acknowledged individually, like a work queue in RabbitMQ, or consumed as ordered streams with offset-like cumulative acknowledgement, with latency under 10 ms. Its layered architecture separates stateless brokers from storage in Apache BookKeeper, with metadata in Oxia, ZooKeeper or another store, so clusters scale out in seconds. It adds built-in geo-replication with automatic client failover, multi-tenancy with per-tenant policies and broker isolation, Pulsar Functions for lightweight stream processing in Java, Go or Python, official connectors for MySQL, Elasticsearch, Cassandra and more, and official clients for Java, Go, Python, C++, Node.js and C#. It is an Apache Software Foundation project under the Apache License 2.0, an alternative to Apache Kafka.
Problems it solves
- one platform for both work queues and event streaming
- replicate messages across regions with automatic failover
- run a shared messaging cluster for many teams with tenant isolation
- scale a message broker quickly without rebalancing partitions' data
- process streams with small functions without deploying a separate stream processor
- move data between MySQL, Elasticsearch or Cassandra and a message bus
Features
- individual or cumulative message acknowledgement
- latency under 10 ms
- separate storage layer on Apache BookKeeper
- rapid horizontal scaling
- geo-replication with automatic client failover
- multi-tenancy with tenant policies and broker isolation
- Pulsar Functions in Java, Go or Python with a bundled Kubernetes runtime
- official connectors for MySQL, Elasticsearch, Cassandra and more
- official clients for Java, Go, Python, C++, Node.js and C#, plus WebSocket and REST
Capabilities
| Has an API | plan not known |
|---|---|
| Has official SDKs | plan not known |
Alternatives
The same job
These do what Apache Pulsar does.
- Apache RocketMQ A cloud-native messaging and streaming platform for event-driven applications
- Apache Kafka An open-source distributed event streaming platform
- RabbitMQ One broker to queue them all
- Azure Event Hubs Fully managed, real-time event streaming and data ingestion on Azure
- Google Cloud Pub/Sub Google Cloud's managed messaging and event ingestion service