org.apache.kafka.connect.errors.DataException: Java class class java.util.Date does not have corresponding schema type

Hi , I have downloaded Elastic search 7.13.2 and kafka connect elastic search 11.0.6 sink connector.

I have enabled the configuration transforms.formatTS.target.type=Date/Timestamp.But fetching an error
org.apache.kafka.connect.errors.DataException: Java class class java.util.Date does not have corresponding schema type.

Please help to resolve this issue.

@meghnamariam Does this documentation example help? Based on the configuration you posted, you may have an improper configuration setup.

https://docs.confluent.io/platform/current/connect/transforms/timestampconverter.html#example

transforms.TimestampConverter.target.type": “string/unix” works fine .
But if type is set Date/Time/Timestamp
Getting this exception.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.