Monitor Pipeline Status
|
This component requires an enterprise license. You can either upgrade to an Enterprise Edition license, or generate a trial license key that’s valid for 30 days. |
Monitor your Redpanda Connect pipelines in real-time by consuming status events. Status events help you detect connection failures, track pipeline health, and troubleshoot issues before they impact data processing.
After reading this page, you will be able to:
-
Consume status events from a Kafka topic
-
Configure alerts for pipeline failures and connection errors
-
Troubleshoot common status reporting issues
For status event type definitions and message format, see status_topic configuration reference.
Prerequisites
-
Configure the
redpandaservice withstatus_topicenabled -
Ensure you have a valid Enterprise Edition license - status reporting is an enterprise feature
-
Have access to consume from the status topic
Consume status events
Use rpk to consume status events in real-time:
rpk topic consume __redpanda.connect.status --format json
Or use any Kafka consumer configured to read from the status topic.
Understand the pipeline lifecycle
Status events follow this lifecycle:
| Event type | Description |
|---|---|
Startup: |
Pipeline parsed configuration and is starting |
Running: |
Heartbeat every 30 seconds when connections are healthy |
Errors: |
One or more connections have failed (heartbeat every 30 seconds) |
Shutdown: |
Pipeline is stopping (gracefully or due to error) |
Set up monitoring alerts
Configure alerts based on these patterns:
Startup tracking
Alert if TYPE_INITIALIZING is not followed by TYPE_CONNECTION_HEALTHY within 60 seconds. This indicates the pipeline failed to establish connections during startup.
Example alert condition:
last_event_type = "TYPE_INITIALIZING"
AND time_since_last_event > 60 seconds
AND no TYPE_CONNECTION_HEALTHY received
Health monitoring
Alert if no TYPE_CONNECTION_HEALTHY received for a pipeline_id for more than 60 seconds. Since heartbeats occur every 30 seconds, missing two consecutive heartbeats indicates the pipeline may have crashed without sending TYPE_EXITING.
Example alert condition:
last_event_type = "TYPE_CONNECTION_HEALTHY"
AND time_since_last_event > 60 seconds
Error detection
Alert on any TYPE_CONNECTION_ERROR events. These indicate connection failures to inputs, outputs, or other external systems.
Use the event fields to identify failures:
-
connection_errors[].path- The configuration path of the failing connector (e.g.,input.kafka_franz) -
connection_errors[].label- Custom label if assigned to the connector -
connection_errors[].message- Error message describing the failure
Example alert condition:
event_type = "TYPE_CONNECTION_ERROR"
Example monitoring query
For a log aggregation system (Splunk, Elasticsearch, etc.):
source="__redpanda.connect.status"
| where type="TYPE_CONNECTION_ERROR" OR (type="TYPE_EXITING" AND exit_error.message IS NOT NULL)
| stats count by pipeline_id, type, connection_errors[0].path
This query identifies pipelines with connection errors or unexpected shutdowns.
Troubleshoot status events
Status events not appearing
If you’ve configured status_topic but don’t see events:
-
Check license: Status reporting requires a valid Enterprise Edition license
-
Verify license is installed and valid
-
Check logs for license validation errors
-
-
Verify topic creation: Ensure the status topic exists and has proper permissions
-
Create the topic manually if it doesn’t exist:
rpk topic create __redpanda.connect.status --partitions 1 --replicas 3 -
Verify Connect instance has write permissions to the topic
-
-
Check broker connectivity: Ensure Connect can reach the Kafka brokers
-
Verify
seed_brokersconfiguration is correct -
Check network connectivity and firewall rules
-
-
Review configuration: Verify
status_topicis set and not empty stringredpanda: seed_brokers: ["localhost:9092"] pipeline_id: my-pipeline status_topic: __redpanda.connect.status # Must be non-empty
Connection errors not resolving
If you see persistent TYPE_CONNECTION_ERROR events:
-
Check the
connection_errors[].pathto identify the failing connector -
Review configuration for that specific connector (input or output)
-
Verify the external system (database, API, etc.) is accessible
-
Check connector-specific authentication and credentials
-
Review Connect logs for detailed error messages from the connector
Missing heartbeats
If heartbeats (TYPE_CONNECTION_HEALTHY) stop but no TYPE_EXITING was sent:
-
The pipeline process likely crashed or was killed (SIGKILL)
-
Check system logs for out-of-memory errors or other system issues
-
Check container orchestrator logs (Kubernetes pod events, etc.)
-
Review resource limits and adjust if necessary