services
Kafka
Managed Apache Kafka broker for event streaming and message queues.
Add a managed Kafka broker for event-driven architectures, log aggregation, and high-throughput message streaming between services.
When to Use#
- Event-driven microservice communication
- Log aggregation and streaming
- Real-time data pipelines
- High-throughput message queuing
Configuration#
runix.yaml
yaml
services:
- name: events
type: kafka
- name: producer
type: web-service
repo: https://github.com/alice/event-service
env:
KAFKA_BROKER: "${events.connection_string}"
- name: consumer
type: background-worker
repo: https://github.com/alice/event-consumer
env:
KAFKA_BROKER: "${events.connection_string}"Kafka UI#
On Pro and Business plans, a Kafka UI is automatically provisioned alongside your broker. It provides a web interface for viewing topics, messages, and consumer groups.
Kafka UI is available as an add-on on Pro and Business plans. It is not included on Hobby or Starter plans.
For simple message queuing without the overhead of Kafka, consider using Redis pub/sub instead.