codelipenghui commented on a change in pull request #5165: [PIP-43] Support 
producer to send msg with different schema
URL: https://github.com/apache/pulsar/pull/5165#discussion_r324963151
 
 

 ##########
 File path: 
pulsar-client/src/main/java/org/apache/pulsar/client/impl/ProducerBuilderImpl.java
 ##########
 @@ -257,6 +258,12 @@ private ProducerBuilderImpl(PulsarClientImpl client, 
ProducerConfigurationData c
         return this;
     }
 
+    @Override
+    public ProducerBuilder<T> withMultiSchemaMode(ProducerMultiSchemaMode 
producerMultiSchemaMode) {
+        conf.setMultiSchemaMode(producerMultiSchemaMode);
 
 Review comment:
   Add check for the param producerMultiSchemaMode can't be null.

----------------------------------------------------------------
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

Reply via email to