All Products
Search
Document Center

EventBridge:Monitor and troubleshoot custom Kafka connectors

Last Updated:Mar 11, 2026

Custom Message Queue for Apache Kafka connectors in EventBridge provide built-in monitoring across three dimensions: Kafka instance health, worker resource consumption, and connector task status. When a connector fails, the EventBridge console surfaces error details and provides direct access to connector logs for root cause analysis.

Monitoring dimensions

The Metric Monitoring page organizes metrics into three tabs, each focused on a different layer of the connector stack.

TabWhat it monitorsWhen to use
Message Queue for Apache Kafka Instance MonitoringMetrics for each connected Kafka instanceCheck Kafka-side monitoring data
Worker MonitoringResource consumption of each Serverless App Engine (SAE) application and instanceIdentify resource bottlenecks in the connector runtime
Connector MonitoringRunning status of Kafka Connect tasksFirst place to check when a task fails -- shows failure details directly

Kafka Connect workers run on SAE, so the resource usage of an SAE application or instance directly reflects the resource usage of the connector. The connector monitoring metrics are provided by Kafka Connect.

View monitoring metrics

  1. Log on to the EventBridge console.

  2. In the top navigation bar, select a region.

  3. In the left-side navigation pane, click Event Streams.

  4. On the Event Streams page, find the target Kafka connector and click Details in the Actions column.

  5. In the left-side navigation pane, click Metric Monitoring.

Kafka instance monitoring

Click the Message Queue for Apache Kafka Instance Monitoring tab to view metrics for each Message Queue for Apache Kafka instance connected to the event stream.

Monitor Message Queue for Apache Kafka instances

Worker monitoring

Click the Worker Monitoring tab to view resource consumption for each SAE application and instance.

Monitor workers

Connector monitoring

Click the Connector Monitoring tab to view the running status of Kafka Connect tasks. When a task fails, this tab shows the failure details.

Monitor connectors

Troubleshoot connector failures

If a Kafka connector stops running, follow the escalation path below to identify and resolve the issue. Start from the Event Stream Details page: navigate to Event Streams in the EventBridge console, then click Details for the target connector.

Step 1: Check the error details

  1. On the Event Stream Details page, click Overview in the left-side navigation pane.

  2. In the Basic Information section, click Running Exception to view the error type and detailed error information.

Running exception

If the error is caused by a Kafka Connect task failure, click Diagnostics to go to the Connector Monitoring page for task-level failure details.

Step 2: Access connector logs in the SAE console

If the error details from Step 1 do not resolve the issue, access the Kafka Connect runtime environment through the SAE console to inspect the logs directly.

  1. On the Event Stream Details page, click Overview in the left-side navigation pane.

  2. In the Worker Information section, click the instance name next to SAE Application to open the Application Details page in the SAE console.

    Redirect to the Application Details page in the SAE console

  3. On the Basic Information page, click the Instance Deployment Information tab.

  4. In the Actions column, click Webshell to open a terminal session in the Kafka Connect runtime environment.

    Information about instance deployment

  5. In the terminal, check the connector running logs at the following path:

    /opt/kafka/logs/connect.log