Camel Messaging Service
The Kafka protocol, without the disks to look after.
Camel Messaging Service runs Kafka-compatible clusters in your environments. Its brokers keep nothing on their own disks: messages live in an S3 bucket or a PostgreSQL database that you choose. Your Kafka clients connect as they are.
What Kafka costs
The protocol is cheap. The disks around it are not.
Kafka became the common language of events because its protocol is simple and its clients are everywhere. What makes it expensive is the way brokers store data: on their own disks, copied to one another.
Disks sized for the worst day
Each broker owns its partitions, so each needs a disk large enough for its share of the retention, plus headroom. Multiply by the replication factor.
Traffic between brokers
Every message written is copied to other brokers, usually in other zones. That traffic is paid for, and it grows with what you publish.
Scaling that moves data
A new broker serves nothing until partitions are moved to it. Adding capacity during a peak means copying data during that peak.
People to keep it in balance
Rebalancing, replacing a failed disk, watching under-replicated partitions: a Kafka cluster needs someone who knows it well.
How it works
Brokers that keep nothing.
Every broker of a cluster reads from and writes to the same store. The durability of your messages is the durability of that store, which is built for exactly that. Brokers only serve clients: they can come and go.
- Brokers are added and removed without moving a partition, so autoscaling on CPU and memory actually works.
- A broker that restarts loses nothing, since it held nothing.
- No replication factor to choose and no replicas to watch: the store keeps the copies.
- A cluster created again with the same name and the same kind of storage finds its topics, its messages and its users.
Where messages are kept
Your store, in your account.
The storage is chosen when the cluster is created. The bucket or the database is yours: your region, your encryption, your backups.
| Storage | What it is | Brokers |
|---|---|---|
| S3 bucket | At AWS or with any S3-compatible provider, including one you run. | As many as you need |
| PostgreSQL | A database you already run and back up. | As many as you need |
| Local disk | A disk of its own, created with the default storage class of the cluster. | One |
| Local, not kept | For development: messages are lost when the broker restarts, and clients cannot sign in. | One |
Secured and governed
A cluster is declared, not hand-tuned.
Clusters, users and topics are created from the console, each in an environment, each with its revisions. The operator of the environment applies them and reports their state.
bootstrap.servers=orders.team-a.svc:9092
security.protocol=SASL_SSL
sasl.mechanism=SCRAM-SHA-512
sasl.jaas.config=org.apache.kafka.common.security.scram.ScramLoginModule \
required username="billing" password="…"; - TLS with your own certificate and the authority that signed it.
- SCRAM sign-in. Each user gets a generated password and a configuration that holds everything a client needs to connect.
- Passwords replaced on a schedule, from a day to a year.
- Topics declared with their partitions and their retention, in time or in size. Clients create none unless you allow it.
- Roles per environment: who may create a cluster, a user or a topic, and where.
- A cluster that still has users or topics refuses to be deleted, unless you decided otherwise when you created it.
With your integrations
Events and integrations in the same console.
An integration of the Camel Integration Service reads and publishes with the Kafka component of Apache Camel, using the connection configuration of a user. Scaling, telemetry and roles work the same way for both.
Scaling
A fixed number of brokers, or an autoscaler that follows their CPU and memory between the bounds you set.
Telemetry
Broker metrics exported over OTLP to your collector, logs on standard output, the state of each cluster, user and topic in the console.
Sovereignty
Brokers run in your environments, on our clusters or on yours. Messages never leave the store you chose.
Activation
The service is activated once per environment, from the environment page. Clusters can be created as soon as it is ready.
Trade-offs
What it is not for.
A message is acknowledged once the store holds it. That costs a few more milliseconds than a local disk: negligible for integration, events between systems, logs or replay, decisive for workloads that count in microseconds.
- It speaks the Kafka protocol; it is not Apache Kafka. Test the client features your applications rely on against a cluster before moving them.
- A local storage has a single broker, and cannot be autoscaled.
- The latency of a cluster follows its store: put the bucket or the database close to the brokers.