Created
September 15, 2021 08:05
-
-
Save ereshzealous/fc604436c7e4c68f9532a08baa571778 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"namespace": "com.spring.kafka.avro.user", | |
"type": "record", | |
"name": "UserEvent", | |
"fields": [ | |
{ | |
"name": "eventId", | |
"type": "string" | |
}, | |
{ | |
"name": "eventType", | |
"type": "string" | |
}, | |
{ | |
"name": "eventTimestamp", | |
"type": "long", | |
"logicalType": "timestamp-micros" | |
}, | |
{ | |
"name": "id", | |
"type": "string" | |
}, | |
{ | |
"name": "firstName", | |
"type": "string" | |
}, | |
{ | |
"name": "lastName", | |
"type": "string" | |
}, | |
{ | |
"name": "email", | |
"type": "string" | |
}, | |
{ | |
"name": "mobileNumber", | |
"type": "string" | |
}, | |
{ | |
"name": "city", | |
"type": "string" | |
}, | |
{ | |
"name": "country", | |
"type": "string" | |
}, | |
{ | |
"name": "createdOn", | |
"type": "long", | |
"logicalType": "timestamp-micros" | |
}, | |
{ | |
"name": "updatedOn", | |
"type": "long", | |
"logicalType": "timestamp-micros" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment