Message broker integrations

Akka offers built-in message broker integrations for use with the Akka Consumer and Producer component. These built-in integrations are available for Google Cloud Pub/Sub and hosted Kafka services. For other broker technologies, Java client libraries can be used directly to implement publishing of messages.

Using built-in integrations

For the built-in technologies, Akka decouples the broker configuration from the implementation of the consumer or producer. The topic name is referenced independently of the broker technology, as demonstrated in Consume from a message broker Topic and Producing to a message broker Topic.

All connection details are managed at the Akka project level. For configuration instructions, refer to Configure message brokers.

The Akka SDK testkit has built-in support for simulating message brokers. See Testing the Integration for more details. For running locally with a broker, refer to running a service with broker support.

Producing to other broker technologies

Other message broker technologies can be integrated into an Akka service by utilizing their respective client libraries. Additionally, the Akka libraries Alpakka project provides Akka-native solutions for integrating various services.

We continuously evaluate additional integrations for potential built-in support in Akka. If you have specific requirements, please contact us at support@akka.io.