Skip to content

Instantly share code, notes, and snippets.

@ereshzealous
Created September 15, 2021 08:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ereshzealous/fc604436c7e4c68f9532a08baa571778 to your computer and use it in GitHub Desktop.
Save ereshzealous/fc604436c7e4c68f9532a08baa571778 to your computer and use it in GitHub Desktop.
{
"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