org.apache.kafka.connect.errors.DataException: Converting byte[] to Kafka Connect data failed due to serialization error:

GitHub | lilgreenwein | 3 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 11#242388627

    GitHub | 8 months ago | camelia-c
    org.apache.kafka.connect.errors.DataException: Converting byte[] to Kafka Connect data failed due to serialization error:
  2. 0

    How to skip error message with mongodb-connector?

    GitHub | 9 months ago | tony-lijinwen
    org.apache.kafka.connect.errors.DataException: Converting byte[] to Kafka Connect data failed due to serialization error:
  3. 0

    Error in starting Kafa Connect in standalone mode

    Stack Overflow | 7 months ago | Karan Alang
    org.apache.kafka.connect.errors.DataException: Converting byte[] to Kafka Connect data failed due to serialization error:
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Kafka Connect - ElasticSearch JsonDeserializer error

    Google Groups | 6 months ago | Anurag Phadke
    org.apache.kafka.connect.errors.DataException: JsonDeserializer with schemas.enable requires "schema" and "payload" fields and may not contain additional fields

    2 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.fasterxml.jackson.core.JsonParseException

      Unrecognized character escape 'x' (code 120) at [Source: [B@aa4d27a; line: 1, column: 106]

      at com.fasterxml.jackson.core.JsonParser._constructError()
    2. Jackson-core
      UTF8StreamJsonParser.getText
      1. com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1581)
      2. com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:533)
      3. com.fasterxml.jackson.core.base.ParserMinimalBase._handleUnrecognizedCharacterEscape(ParserMinimalBase.java:510)
      4. com.fasterxml.jackson.core.json.UTF8StreamJsonParser._decodeEscaped(UTF8StreamJsonParser.java:3174)
      5. com.fasterxml.jackson.core.json.UTF8StreamJsonParser._finishString2(UTF8StreamJsonParser.java:2459)
      6. com.fasterxml.jackson.core.json.UTF8StreamJsonParser._finishAndReturnString(UTF8StreamJsonParser.java:2414)
      7. com.fasterxml.jackson.core.json.UTF8StreamJsonParser.getText(UTF8StreamJsonParser.java:285)
      7 frames
    3. Jackson
      ObjectMapper.readTree
      1. com.fasterxml.jackson.databind.deser.std.BaseNodeDeserializer.deserializeObject(JsonNodeDeserializer.java:233)
      2. com.fasterxml.jackson.databind.deser.std.JsonNodeDeserializer.deserialize(JsonNodeDeserializer.java:69)
      3. com.fasterxml.jackson.databind.deser.std.JsonNodeDeserializer.deserialize(JsonNodeDeserializer.java:15)
      4. com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3736)
      5. com.fasterxml.jackson.databind.ObjectMapper.readTree(ObjectMapper.java:2294)
      5 frames
    4. org.apache.kafka
      WorkerTask.run
      1. org.apache.kafka.connect.json.JsonDeserializer.deserialize(JsonDeserializer.java:50)
      2. org.apache.kafka.connect.json.JsonConverter.toConnectData(JsonConverter.java:303)
      3. org.apache.kafka.connect.runtime.WorkerSinkTask.convertMessages(WorkerSinkTask.java:358)
      4. org.apache.kafka.connect.runtime.WorkerSinkTask.poll(WorkerSinkTask.java:239)
      5. org.apache.kafka.connect.runtime.WorkerSinkTask.iteration(WorkerSinkTask.java:172)
      6. org.apache.kafka.connect.runtime.WorkerSinkTask.execute(WorkerSinkTask.java:143)
      7. org.apache.kafka.connect.runtime.WorkerTask.doRun(WorkerTask.java:140)
      8. org.apache.kafka.connect.runtime.WorkerTask.run(WorkerTask.java:175)
      8 frames
    5. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      5. java.lang.Thread.run(Thread.java:745)
      5 frames