MINOR: Safe string conversion to avoid NPEs
Should be ported back to 2.0
Author: Cyrus Vafadari
Reviewers: Ewen Cheslack-Postava
Closes from cyrusv/cyrus-npe
@@ -140,9 +140,9 @@ public abstract class ConnectRecord<R extends ConnectRecord<R>> {
"topic='" + topic + '\'' +
", kafkaPartition=" + kafkaPartition +
", key=" + key +
- ", keySchema=" + keySchema.toString() +
+ ", keySchema=" + keySchema +
", value=" + value +
- ", valueSchema=" + valueSchema.toString() +
+ ", valueSchema=" + valueSchema +
", timestamp=" + timestamp +
", headers=" + headers +
'}';
