Source Monitoring
The Neo4j Connector for Kafka Source provides JMX metrics for the Change Data Capture strategy to help you monitor the status of the data ingestion process.
|
JMX metrics are not collected via the official Kafka Connect interface, and are not reported by reporters defined via |
JMX Metrics Introduced in 5.3.0
The following JMX metrics are available for CDC Source connector instances:
-
ObjectName:
kafka.connect:type=plugins,connector={CONNECTOR_NAME},task={TASK_ID}
| Attribute | Type | Description |
|---|---|---|
|
Number |
The timestamp of the last committed CDC transaction polled by the connector. |
|
Number |
The timestamp of the start of the last CDC transaction polled by the connector. |
|
Number |
The ID of the last CDC transaction polled by the connector. |
|
Number |
The ID of the last transaction in the database.
This metric is only reported if enabled by the |
|
The |
Configuration
To enable the last_db_tx_id metric, you need to configure the following properties in your Source instance:
| Name | Type | Description |
|---|---|---|
|
Boolean |
Whether to enable the Default: |
|
Duration |
The refresh interval of the Default: |