SAP / kafka-connect-sap

Kafka Connect SAP is a set of connectors, using the Apache Kafka Connect framework for reliably connecting Kafka with SAP systems
Apache License 2.0
119 stars 54 forks source link

Interpret unknown logicalTypes as their base types #118

Closed elakito closed 2 years ago

elakito commented 2 years ago

When some unknown type is used in the record schema, the sink connector simply rejects the record by saying: Caused by: com.sap.kafka.utils.ConnectorException: Field Schema type name xxxxxxxxxxx is invalid

It would be more practical and convenient to interpret the type using its base type mapping so that the data can be inserted to the target HANA table.

This resolves https://github.com/SAP/kafka-connect-sap/issues/115