You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2018/10/01 15:28:07 UTC

[GitHub] sijie commented on a change in pull request #2685: [schema] introduce AUTO_PRODUCE schema

sijie commented on a change in pull request #2685:  [schema] introduce AUTO_PRODUCE schema
URL: https://github.com/apache/pulsar/pull/2685#discussion_r221652709
 
 

 ##########
 File path: pulsar-broker/src/test/java/org/apache/pulsar/client/api/SimpleTypedProducerConsumerTest.java
 ##########
 @@ -459,7 +461,7 @@ public void testAvroProducerAndAutoSchemaConsumer() throws Exception {
        }
 
        Consumer<GenericRecord> consumer = pulsarClient
-           .newConsumer(Schema.AUTO())
+           .newConsumer(Schema.AUTO_CONSUME())
 
 Review comment:
   I made them methods to be consistent with AVRO and JSON. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services