This project provides a RabbitMQ exporter for Zeebe, allowing you to export Zeebe records data to RabbitMQ queues.
The Zeebe Exporter is a component or tool that allows you to export data from Zeebe, a workflow engine, to external systems or services. The usage of a Zeebe Exporter depends on your specific requirements and integration needs. Here are a few common use cases
-
Logging and Monitoring: You can use a Zeebe Exporter to export workflow execution data and events to a logging or monitoring system. This allows you to track the progress of workflows, monitor performance metrics.
-
Integration with External Systems: Integrate Zeebe with other systems or services in your architecture, an exporter can be used to export relevant workflow data to those systems.
-
Data Analysis and Reporting: Exporting data from Zeebe to a data analysis or reporting tool allows you to perform advanced analytics on workflow execution data.
-
Data Synchronization: Synchronize data between Zeebe and external systems (Real-time tracking).
For a local setup, the repository contains a docker-compose file. It starts a Zeebe broker with the rabbitMQ exporter.
mvn clean install
cd docker
docker-compose up
- Download the latest Zeebe distribution
zeebe-distribution-%{VERSION}.tar.gz
- Build JAR of RabbitMQ Zeebe Exporter
mvn clean install
- Download & start RabbitMQ server
- Copy the exporter JAR into the broker folder
~/zeebe-broker-%{VERSION}/exporters
cp target/zeebe-rabbitmq-exporter-1.0-SNAPSHOT.jar ~/zeebe-broker-%{VERSION}/exporters/
- Add the exporter to the broker configuration
~/zeebe-broker-%{VERSION}/config/application.yaml
:zeebe: broker: exporters: rabbitmq: className: io.zeebe.exporter.rabbitmq.RabbitMqExporter jarPath: exporters/zeebe-rabbitmq-exporter-1.0-SNAPSHOT.jar
- Edit RabbitMQ configurations (host, username, and password) in the Zeebe Exporter environment variables.
- Start the broker
~/zeebe-broker-%{VERSION}/bin/broker
In the Zeebe configuration file, you can change
- the RabbitMQ host & port
- the RabbitMQ username & password
- the RabbitMQ queue name
- the value and record types which are exported
Default values:
- ZEEBE_RABBITMQ_HOST=localhost
- ZEEBE_RABBITMQ_PORT=5672
- ZEEBE_RABBITMQ_USERNAME=guest
- ZEEBE_RABBITMQ_PASSWORD=guest
- ZEEBE_RABBITMQ_QUEUE=zeebe
The exporter can be built with Maven
mvn clean install
Contributions are welcome! If you find any issues or have suggestions for improvements, please create a new issue or submit a pull request.