Configuring Eventing with RabbitMQ

Cloud Native Runtimes supports using RabbitMQ as an event source to react to messages sent to a RabbitMQ exchange or as an event broker to distribute events within your app. The integration allows you to create:

  • A RabbitMQ broker: A Knative Eventing broker backed by RabbitMQ. This broker uses RabbitMQ exchanges to store CloudEvents that are then routed from one component to another.
  • A RabbitMQ source: An event source that translates external messages on a RabbitMQ exchange to CloudEvents, which can then be used with Knative Serving or Knative Eventing over HTTP.

Install VMware Tanzu RabbitMQ for Kubernetes

Before you can use or test RabbitMQ eventing on Cloud Native Runtimes, you need to install VMWare Tanzu RabbitMQ for Kubernetes . Follow below steps to complete the installation -

  1. Accept End User License Agreement

  2. Prerequisites : This step installs kapp-controller and secretgen-controller. Skip this step if kapp-controller and secretgen-controller are already installed on your cluster.

  3. Prepare for the Installation

  4. Provide imagePullSecrets.

  5. Install the PackageRepository
  6. Create a Service Account
  7. Install Cert-Manager : Skip this step if cert-manager is already installed on your cluster.

  8. Install the Tanzu RabbitMQ Package : This step will install the Tanzu RabbitMQ Cluster Operator, Message Topology Operator, and Standby Replication Operator on your cluster.

Next Steps

After completing these installations, you can:

  • Verify your Knative Eventing installation using an example RabbitMQ broker. For instructions, see Verify Knative Eventing.

  • Create a broker, producer, and a consumer to use RabbitMQ and Knative Eventing with your own app.

check-circle-line exclamation-circle-line close-line
Scroll to top icon