-
Bug
-
Resolution: Done
-
Minor
-
None
-
None
-
False
-
False
-
Undefined
-
debezium/debezium-server/debezium-server-pubsub/src/main/java/io/debezium/server/pubsub/PubSubChangeConsumer.java#140
if (record.value() instanceof String) { pubsubMessage.setData(ByteString.copyFromUtf8((String) record.value())); } else if (record.value() instanceof byte[]) { pubsubMessage.setData(ByteString.copyFrom((byte[]) record.key())); }
data should be set from record.value(), not record.key().