Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

Avro Timestamp  #20

@elabbassiwidad

Description

@elabbassiwidad

Hello, for my master thesis project, i'm generating mock data using kafka-connect and avro schema, but the timestamp field in kafka is generated in this way/Unix epoch i suppose: 8203758334795633000 with 19 digits, and some values are negative.
I tried to convert it using transforms=TimestampConverter but then i get this : "174673355-10-23 23:41:30.000228" , how can I generate normal timestamps I can deal with ?

This how i defined timestamp in avro schema:
{ "name": "Timestamp", "type": "long", "logicalType": "timestamp-millis" }

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