Skip to content

Support for ES 8.x #44

@foboni

Description

@foboni

I'm getting the below error while trying to insert records to ES 8.x using latest aiven connector

_Encountered an illegal document error when executing batch 267 of 10 records. Ignoring and will not index record. Error was {"root_cause":[{"type":"illegal_argument_exception","reason":"Action/metadata line [1] contains an unknown parameter [_type]"}],"type":"illegal_argument_exception","reason":"Action/metadata line [1] contains an unknown parameter [type]"} (io.aiven.connect.elasticsearch.bulk.BulkProcessor:414)

Connector config has this set

"schema.ignore": "true",
"type.name": "_doc",
"value.converter.schemas.enable": "false",
"value.converter": "org.apache.kafka.connect.json.JsonConverter"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions