Area: Ingestion
Sub-Area: MCE Processing
Applies to: OSS + Cloud
Issue
The logs of the MCE (Metadata Change Event) consumer show errors. Metadata you ingested may be missing or delayed in DataHub.
The MCE consumer writes these log lines:
MCE Processor ErrorMCP Processor ErrorUnrecoverable message deserialization error. Cannot forward to failure topic.
You Might Be Asking
Does a successful ingestion run prove that every write landed?
No. The datahub-rest sink defaults to ASYNC_BATCH mode. In async ingest, GMS validates and authorizes the proposal, then publishes it to the MetadataChangeProposal topic. The MCE consumer applies it later. If that later processing fails, the failure goes to the Failed MCP topic and is not reported to the caller. A clean run report does not prove every write landed. See DataHub APIs.
Is there a version that fixed these errors?
No single fix clears them. MCE Processor Error and MCP Processor Error are catch-all logs. The consumer logs them when any event fails while it is processed. Upgrading does not clear them by itself. Find which events fail and why.
Did DataHub Cloud v0.3.13 improve schema compatibility?
No. The v0.3.13 release notes list a Known Issue: the internal schema registry does not supply a compatible schema for older MCP messages. The notes say to process all MCPs before upgrading to that release. See the v0.3.13 release notes.
Cause
The consumer catches any failure while it processes an event and logs it:
-
MCE Processor Errorcomes from the MCE processor. -
MCP Processor Errorcomes from the MCP consumer. After it logs this line, it sends the event to the failed-MCP path. -
Unrecoverable message deserialization error. Cannot forward to failure topic.means the consumer could not read the message. It does not forward that message to the failure topic.
These lines show that an event failed. They do not name one cause. The error details around each line show the reason.
Solution
DataHub Cloud
You can't read consumer logs or Kafka lag in Cloud. If you see missing or delayed metadata after ingestion, contact DataHub Support. Give the ingestion run time, the source name and the URNs of the affected entities.
Cloud v0.3.13 has a Known Issue with older MCP messages. Process all MCPs before upgrading to that release. If you need help with this, contact DataHub Support.
Self-hosted
- Read the logs of the GMS pod. In a default install, the consumers run inside GMS. If you deployed standalone consumers, read the
datahub-mce-consumerpod logs instead. - Search the logs for
MCE Processor Error,MCP Processor ErrorandUnrecoverable message deserialization error. Read the exception that comes with each line. - Check consumer lag for the consumer group
generic-mce-consumer-job-client. This is the default group. Lag depends on consumer throughput. To measure queue latency, use themessaging.queue.timemetric, which all DataHub Kafka consumers record. See Kafka consumer instrumentation.
For how async ingest and the failure topic work, see Metadata Events and DataHub APIs.