poorbarcode commented on code in PR #21247:
URL: https://github.com/apache/pulsar/pull/21247#discussion_r1371089474
##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/AbstractReplicator.java:
##########
@@ -89,7 +89,7 @@ public AbstractReplicator(String localCluster, Topic
localTopic, String remoteCl
localTopicName + "-->" + remoteTopicName,
StringUtils.equals(localCluster, remoteCluster) ? localCluster
: localCluster + "-->" + remoteCluster
);
- this.producerBuilder =
replicationClient.newProducer(Schema.AUTO_PRODUCE_BYTES()) //
+ this.producerBuilder = replicationClient.newProducer(Schema.BYTES) //
Review Comment:
The implementation of simple type for the JSON Schema was not supported,
this is the root cause. Do not modify here.
The workaround is to use `Schema.String, Schema.Int32......` directly.
--
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]