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 2021/01/29 06:16:58 UTC

[GitHub] [pulsar] wolfstudy opened a new issue #9364: [Deliver Message] The metric data of msgDelayed for partitioned topics is not aggregated

wolfstudy opened a new issue #9364:
URL: https://github.com/apache/pulsar/issues/9364


   **Describe the bug**
   
   When using the deliverAfter interface, if the specified topic type is partitioned topic, then the indicator msgDelayed will always be displayed as 0.
   
   ```
   bin/pulsar-admin topics partitioned-stats test-topic-001
   ```
   
   Output:
   
   ![image](https://user-images.githubusercontent.com/20965307/106238469-e5078580-623b-11eb-8cf4-9ca7d7942d20.png)
   
   
   **To Reproduce**
   Steps to reproduce the behavior:
   
   1. start standalone
   2. start consumer and receive messages
   3. start producer and publish messages
   4. run `bin/pulsar-admin topics partitioned-stats test-topic-001` and look `msgDelayed` value
   
   **Expected behavior**
   
   The `msgDelayed` of partitioned topic should be the sum of each partition-topic
   
   **Screenshots**
   If applicable, add screenshots to help explain your problem.
   
   **Desktop (please complete the following information):**
    - OS: [e.g. iOS]
   
   **Additional context**
   
   produce and consumer code:
   
   
   [code.zip](https://github.com/apache/pulsar/files/5891923/default.zip)
   
   
   
   


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

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



[GitHub] [pulsar] wolfstudy edited a comment on issue #9364: [Deliver Message] The metric data of msgDelayed for partitioned topics is not aggregated

Posted by GitBox <gi...@apache.org>.
wolfstudy edited a comment on issue #9364:
URL: https://github.com/apache/pulsar/issues/9364#issuecomment-769603401


   And the `standalone.conf` as follows:
   
   ```
   subscriptionRedeliveryTrackerEnabled=true
   delayedDeliveryEnabled=true
   ```
   
   And in consumer, the sub type is `Shared`
   
   The pulsar and pulsar-client version is `2.7.0`


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

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



[GitHub] [pulsar] wolfstudy commented on issue #9364: [Deliver Message] The metric data of msgDelayed for partitioned topics is not aggregated

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


   And the `standalone.conf` as follows:
   
   ```
   subscriptionRedeliveryTrackerEnabled=true
   delayedDeliveryEnabled=true
   ```
   
   And in consumer, the sub type is `Shared`


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

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



[GitHub] [pulsar] codelipenghui closed issue #9364: [Deliver Message] The metric data of msgDelayed for partitioned topics is not aggregated

Posted by GitBox <gi...@apache.org>.
codelipenghui closed issue #9364:
URL: https://github.com/apache/pulsar/issues/9364


   


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

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



[GitHub] [pulsar] limingnihao commented on issue #9364: [Deliver Message] The metric data of msgDelayed for partitioned topics is not aggregated

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


   I will fix this issue, please assign it to me.


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

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