STRUCTis not supported as the document id.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web20

  • STRUCTis not supported as the document id.
  • STRUCT is not supported as the document id.
  • via Google Groups by Unmesh Joshi, 1 year ago
    Avro union types containing null are only supported as optional fields and should have exactly two entries.
  • Stack trace

    • org.apache.kafka.connect.errors.DataException: STRUCTis not supported as the document id. at io.confluent.connect.elasticsearch.DataConverter.convertKey( at io.confluent.connect.elasticsearch.DataConverter.convertRecord( at io.confluent.connect.elasticsearch.ElasticsearchWriter.write( at io.confluent.connect.elasticsearch.ElasticsearchSinkTask.put( at org.apache.kafka.connect.runtime.WorkerSinkTask.deliverMessages( at org.apache.kafka.connect.runtime.WorkerSinkTask.poll( at org.apache.kafka.connect.runtime.WorkerSinkTask.iteration( at org.apache.kafka.connect.runtime.WorkerSinkTask.execute( at org.apache.kafka.connect.runtime.WorkerTask.doRun( at at java.util.concurrent.Executors$ at at java.util.concurrent.ThreadPoolExecutor.runWorker( at java.util.concurrent.ThreadPoolExecutor$ at

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.