shibd opened a new pull request, #157:
URL: https://github.com/apache/pulsar-client-cpp/pull/157

   ### Motivation
    If a schema exists in a topic, but the producer does not know it. He still 
wanted to send data to the topic. (The scenario in which the DLQ sends a 
message: Please refer #139 **[Verifying this change][5]**)
   
   
   ### Modifications
   - When creating a producer with `autoDownloadSchema` param, try to get the 
schema of that topic and use it.
   - Support `getSchema` on `LookupService`(HTTP and Binary).
   
   
   ### Verifying this change
   
     - Add `LookupServiceTest` unit test to cover `getSchema` logic.
     - Add `SchemaTest.testAutoDownloadSchema` unit test to cover creating 
producer success when the topic has a schema.
   
   ### Documentation
   
   - [ ] `doc-required` 
   (Your PR needs to update docs and you will update later)
   
   - [x] `doc-not-needed` 
   (Please explain why)
   
   - [ ] `doc` 
   (Your PR contains doc changes)
   
   - [ ] `doc-complete`
   (Docs have been already added)
   


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

Reply via email to