Jakub created KAFKA-10103: ----------------------------- Summary: JDBC Sink Connector doesn't support numerical values in event keys Key: KAFKA-10103 URL: https://issues.apache.org/jira/browse/KAFKA-10103 Project: Kafka Issue Type: Bug Components: KafkaConnect Affects Versions: 2.0.1 Reporter: Jakub
Our topics contain events with numerical keys and Avro values. We're trying to configure a JDBC connector to export data from these topics to Oracle DB, but it doesn't seem to work. If we use strings as keys everything works fine, but if we switch to Longs it stops working. We tried different values of _key.converter_, including _org.apache.kafka.connect.converters.ByteArrayConverter,_ but either parsing of keys doesn't work, or they cannot be mapped to Oracle data type (NUMBER - this happens if we use _ByteArrayConverter)._ We also tried using transformations (CAST), but in that case we're getting _Cast transformation does not support casting to/from BYTES_ Please excuse if this is not a bug and there is a way to work with numerical keys, we just couldn't find anything about that in the documentation. -- This message was sent by Atlassian Jira (v8.3.4#803005)