Hi,
i use the jdbc sink connector to put data to a timescaledb. My data format is avro.
I have the problem that my timestamp field in avro is a logical type like this:
name:"Timestamp",
type:
[0:"null",1:{type:"long", logicalType:"timestamp-micros" }
The problem is that the sink connector match the field at the db to a bigint and not to date.
It is not really convenient to work with a bigint instead of a date type.
I try to use the TimestampConverter
to convert the micros to millis but the problem is that
it is not supported. See: Example of Using Kafka Single Message Transform TimestampConverter · GitHub
Any ideas to solve the problem?
THX
Regards,
Marcel