Skip to content

How to exclude Metadata from the Kafka message ? #720

@ucfmohamed

Description

@ucfmohamed

Hello,

I am trying to use Filepulse Kafka Connector.
I have a file with the following content:

{
      "name": "Youssef",
      "test": "123"
}

And the Kafka message shows lots of not needed metadata:

{
  "schema": {
    "type": "struct",
    "fields": [
      {
        "type": "struct",
        "fields": [
          {
            "type": "string",
            "optional": true,
            "field": "name"
          },
          {
            "type": "string",
            "optional": true,
            "field": "test"
          }
        ],
        "optional": true,
        "name": "Message",
        "field": "message"
      }
    ],
    "optional": false
  },
  "payload": {
    "message": {
      "name": "Youssef",
      "test": "123"
    }
  }
}

Is there a way to ignore all of the metadata, and only keep the file content ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions