Technoboy- opened a new pull request, #15876:
URL: https://github.com/apache/pulsar/pull/15876

   ## Motivation
   
   The original rest producer does not support sending messages to the whole 
partitions, it only sends to the current broker owning partitions. But the 
[PIP-64](https://github.com/apache/pulsar/wiki/PIP-64%3A-Introduce-REST-endpoints-for-producing%2C-consuming-and-reading-messages)
 suggests sending in round-robin mode.
   And in order to increase the convenience of other features, replace using 
the producer to send messages. It will redirect to the first partition and then 
create a producer to send messages.
   
   Then the original used mock to test the whole produce logic and exists some 
issues like : lookup issue, redirect issue.
   In this patch, I add Rest Client to help test.
   
   
   ### Modification
   - Using producer to send messages when not specify the partition.
   - Add Rest client to help test.
   
   ### Documentation
   
   - [x] `doc-not-needed` 
   (Please explain why)
   


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