sijie commented on a change in pull request #6034: [Pulsar IO][Issue
5633]Support avro schema for debezium connector
URL: https://github.com/apache/pulsar/pull/6034#discussion_r376142089
##########
File path:
pulsar-io/kafka-connect-adaptor/src/main/java/org/apache/pulsar/io/kafka/connect/KafkaConnectSource.java
##########
@@ -188,15 +198,48 @@ public void close() {
@Getter
Optional<String> destinationTopic;
+ private final AvroData avroData;
+
+ private org.apache.pulsar.kafka.shade.avro.Schema keyAvroSchema;
Review comment:
I don't think this needs to be a class variable. what method is using this
variable except the constructor?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services