nicoloboschi opened a new issue, #16089:
URL: https://github.com/apache/pulsar/issues/16089

   ### What issue do you find in Pulsar docs?
   
   When using pulsar-perf transaction is not trivial to understand how you can 
make it working because the consume topic needs to contains enough messages to 
consume and the formula is:
   message to write before the command = --numSubscriptions * 
--numMessage-perTransaction-consume 
   
   
   ### What is your suggestion?
   
   I suggest to prepend the pulsar-perf produce command before the example and 
to better explain how the tool works
   Currently there's a info box but it's not very clear, a working example is 
far better for a user.
   
   It could be something like that:
   
   *Transactions*
   
   The transction tool will consume from the `--topics-c` topics and it will 
produce a message to `--topics-p` in the same transaction. Note that the tool 
expects the `--topics-c` topics contains at least `--numSubscriptions * 
--numMessage-perTransaction-consume` messages.
   
   Prepare the topic:
   `bin/pulsar-perf produce -m 50 --exit-on-failure -t 1  myConsumerTopic`
   
   Command:
   `bin/pulsar-perf transaction --topics-c myConsumerTopic --topics-p 
MyproduceTopic -threads 1 -ntxn 50 -ss testSub  -nmp 1 -nmc 1`
   
   ### Do you have any references?
   
   https://pulsar.apache.org/docs/next/performance-pulsar-perf/#transactions
   
   ### Would you like to fix this issue?
   
   not now
   
   ### Note
   
   - [X] I have researched my question.


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