johnjcasey commented on code in PR #24757:
URL: https://github.com/apache/beam/pull/24757#discussion_r1058485490
##########
sdks/java/io/debezium/src/main/java/org/apache/beam/io/debezium/KafkaConnectUtils.java:
##########
@@ -78,6 +79,18 @@ public static Schema.FieldType beamSchemaTypeFromKafkaType(
}
}
+ public static Instant debeziumRecordInstant(SourceRecord record) {
+ if
(!record.valueSchema().type().equals(org.apache.kafka.connect.data.Schema.Type.STRUCT)
Review Comment:
Can we add a test to verify this behavior as well?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]