Metadata error sending logs to Kafka in RHOCP 4

Solution Verified - Updated -

Issue

  • After creating a ClusterLogForwarder (CLF) instance to send the logs to Kafka, the message below appears in the collector logs:

    emit transaction failed: error_class=ArgumentError error="comparison of Fluent::Plugin::Buffer::Metadata with Fluent::Plugin::Buffer::Metadata failed"
    
  • Logs are not sent to external Kafka.

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4
  • Red Hat Openshift Logging (RHOL)
    • 5.5.5
    • 5.5.6
    • 5.6.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content