Hi Team,
Would like to ask how to resolve this error below.
Here is my avro schema
{
"name": "MSGEncoding",
"type": "record",
"namespace": "org.soh.gsd.encoding.avro",
"fields": [
{
"name": "document",
"type": {
"name": "document",
"type": "record",
"fields": [
{
"name": "id",
"type": "long"
},
{
"name": "documentType",
"type": "string"
}
]
}
}
]
}Here is my implementation
return MSGEncoding.newBuilder()
.setDocument(document.newBuilder()
.setId(documentEntity.getId())
.setDocumentType(documentEntity.getDocumentType().name())
.build())
.build();
Here is my pom.xml
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-apicurio-registry-avro</artifactId>
</dependency><dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-smallrye-reactive-messaging-kafka</artifactId>
</dependency>