Manage Integrations
During the use of the AutoMQ Cloud product, users can achieve data exchange between instances within the environment and external systems through the integration features. This article introduces the use of the integration features.
In this article, references to the AutoMQ product service provider, AutoMQ service provider, and AutoMQ specifically refer to AutoMQ HK Limited.
Integration Types
AutoMQ Cloud currently supports the following integration features:
Integration Type | Data Type | Applicable Scenarios |
---|---|---|
Prometheus RemoteWrite |
|
|
Apache Kafka |
|
|
CloudWatch |
|
|
Creating Prometheus Integration
Prerequisites
The principle behind the Prometheus integration feature in AutoMQ Cloud is that each data node in the cluster directly writes metrics data to the Prometheus HTTP endpoint using the RemoteWrite protocol. Therefore, the provided Prometheus service must have RemoteWrite enabled.
Integrating with a Self-Built Prometheus Service
Refer to the version notes of Prometheus. This feature requires the user's Prometheus service to meet the following conditions:
-
The Prometheus version must be at least 2.47.
-
During cluster deployment, the RemoteWrite configuration must be enabled in the startup command.
Integration with Cloud Providers' Prometheus Services
If users are utilizing a commercial version provided by Public Cloud providers, it is recommended to consult their technical support. For example, Alibaba Cloud's Prometheus service offers out-of-the-box support for RemoteWrite.
Operation Steps
You can create a Prometheus integration by following these steps:
- Navigate to the integration list page and create a new integration. Users should access the environment console, click on Integrations in the left navigation bar to enter the integration list page. Click on Create Integration, and follow the prompts to enter the following information to complete the creation.
Parameter | Example Value |
---|---|
Integration Name | Provide a distinctive alias for the integration configuration items, refer to the specific restrictions in Restrictions▸. |
Integration Type | Select Prometheus Service |
Prometheus RemoteWrite Endpoints | AutoMQ Cloud uses the RemoteWrite protocol to directly send metrics data from instances within the environment to a user-specified Prometheus cluster. The user must provide the necessary interface for this protocol. |
Authentication Types | AutoMQ Prometheus integration supports various authentication types:
|
Authentication Information | If ACL authentication is enabled on the Prometheus service, you will need to configure the relevant token, username and password, or IAM authorization. |
- Navigate to the instance details page and reference the integration configuration. For instances that require integration configuration, navigate to the respective instance details page, reference the integration item created in the first step, enable the configuration, and subsequently check if data is being reported in the Prometheus service.

AutoMQ Cloud offers Metrics data definitions. For more information, please refer to Monitoring & Alert via Prometheus▸.
Creating Apache Kafka Integration
Prerequisites
The principle of integrating Apache Kafka in AutoMQ Cloud is to use the Kafka Connector component to connect with external Kafka clusters (including other Kafka-compatible versions) to achieve real-time synchronization and reassignment of messages and other data. Therefore, it is necessary to ensure:
-
The external Apache Kafka cluster version is higher than 0.9.x.
-
The network between the external Kafka cluster and AutoMQ is unimpeded.
Operation Steps
Users can create an Apache Kafka integration by following these steps:
- Navigate to the integration list page and create a new integration. Users should access the environment console, click on Integrations in the left navigation bar to enter the integration list page. Click on Create Integration, and follow the prompts to enter the following information to complete the creation.
Parameter | Example Value |
---|---|
Integration Name | Provide a distinctive alias for the integration configuration items, refer to the specific restrictions in Restrictions▸. |
Integration Type | Select Apache Kafka Service Tip If the source cluster is a cloud provider-managed Kafka or another Kafka release version, it is also supported. |
Access Protocol | Client access protocol for connecting to external Kafka clusters. Currently supported protocols:
|
Creating CloudWatch Integration
Prerequisites
The principle of AutoMQ Cloud's CloudWatch integration function is to write the metrics data of the AutoMQ cluster into the user-specified CloudWatch Namespace via the CloudWatch API.
Operation Steps
Users can create a CloudWatch integration by following these steps:
- Navigate to the integration list page and create a new integration. Users should access the environment console, click on Integrations in the left navigation bar to enter the integration list page. Click on Create Integration, and follow the prompts to enter the following information to complete the creation.
Parameter | Example Value |
---|---|
Integration Name | Provide a distinctive alias for the integration configuration items, refer to the specific restrictions in Restrictions▸. |
Integration Type | Select CloudWatch Service |
Namespace | Follow CloudWatch naming conventions and enter a custom Namespace. Metrics data will be written to the specified Namespace. |