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 2020/10/01 01:29:08 UTC

[GitHub] [pulsar] tuteng opened a new issue #8174: peek message not support partitioned topic

tuteng opened a new issue #8174:
URL: https://github.com/apache/pulsar/issues/8174


   **Describe the bug**
   A clear and concise description of what the bug is.
   
   ```
   pulsar-admin topics create-partitioned-topic
   pulsar-admin topics peek-messages -s sub topic-name-partitioned-0
   ```
   
   Throw exception:
   
   ```
   Peek messages on a partitioned topic is not allowed
   ```
   
   **To Reproduce**
   Steps to reproduce the behavior:
   1. Go to '...'
   2. Click on '....'
   3. Scroll down to '....'
   4. See error
   
   ```
   pulsar-admin topics create-partitioned-topic
   pulsar-admin topics peek-messages -s sub topic-name-partitioned-0
   ```
   
   Throw exception:
   
   ```
   Peek messages on a partitioned topic is not allowed
   ```
   
   **Expected behavior**
   
   Support peek message for partitioned topic
   Remove this check https://github.com/apache/pulsar/blob/983266d480f77543a29a74ac1970280abd9f804b/pulsar-broker/src/main/java/org/apache/pulsar/broker/admin/impl/PersistentTopicsBase.java#L2091
   
   **Screenshots**
   If applicable, add screenshots to help explain your problem.
   
   **Desktop (please complete the following information):**
    - OS: [e.g. iOS]
   
   **Additional context**
   Add any other context about the problem here.
   


----------------------------------------------------------------
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] hangc0276 commented on issue #8174: peek message not support partitioned topic

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


   I will fix it, please assign this issue 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



[GitHub] [pulsar] sijie commented on issue #8174: peek message not support partitioned topic

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


   @hangc0276 assigned


----------------------------------------------------------------
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] tuteng closed issue #8174: peek message not support partitioned topic

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


   


----------------------------------------------------------------
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] tuteng commented on issue #8174: peek message not support partitioned topic

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


   I have reconfirmed that this command is OK. Now I close the issue
   
   ```
   pulsar-admin topics peek-messages -s sub topic-name-partitioned-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