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 2022/06/16 08:52:41 UTC

[GitHub] [pulsar] nicoloboschi opened a new issue, #16089: [Doc] Improve pulsar-perf transaction example

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: commits-unsubscribe@pulsar.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] github-actions[bot] commented on issue #16089: [Doc] Improve pulsar-perf transaction example

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #16089:
URL: https://github.com/apache/pulsar/issues/16089#issuecomment-1186375459

   The issue had no activity for 30 days, mark with Stale label.


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar] nicoloboschi commented on issue #16089: [Doc] Improve pulsar-perf transaction example

Posted by GitBox <gi...@apache.org>.
nicoloboschi commented on issue #16089:
URL: https://github.com/apache/pulsar/issues/16089#issuecomment-1157405746

   cc/ @congbobo184 @liangyepianzhou 


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org