Closed thibthibus closed 2 years ago
I think the enum type is currently not supported but I think it is probably easy to fix it. We need to have a look ...
Hi @elakito Thanks a lot !! I see that you already worked on a PR to fix this. Let me know if you want me to test this.
Regards,
Thibaut
@thibthibus Yes. The change is in master. If you could test it and give us your feedback, that would be great.
With this change, the sink connector will not reject an unknown custom type but will use its base type's mapping. For example, if your record generation code (either the source connector or some transformer) is using io.helvetia.tempus.customfield.EntityType for the AVRO enum type, this value will be injected as string. regards, aki
Hi @elakito,
I tested successfully this change I guess since the table was created.
It fails however afterwards wihout being able to process any record with the same error INFO Target type -7 is incompatile with source type 16
See full logs:
1644441555_75031_EE57B850-A1DA-4978-8A09-F01E066A8475.txt
Thanks
Thibaut
Hi, We are not able to setup a Sink connector on a topic that has fields defined as
"type": "enum"
in its AVRO Schema Registry. We are using the latest 0.9.2 release. The connector is configured withauto-create: true
. We get the following exception:com.sap.kafka.utils.ConnectorException: Field Schema type name <Avro Schema field name> is invalid
See full stack below:
In Schema Registry, this field is defined this way:
Are only simple type supported ?
Thanks for your help on this.
Regards,
Thibaut