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/10/10 12:04:18 UTC

[GitHub] [pulsar] startjava commented on issue #17983: [Bug] getUnackedMessages() always return 0

startjava commented on issue #17983:
URL: https://github.com/apache/pulsar/issues/17983#issuecomment-1273212365

   5 message , ack 1 message , but result 0:
   
   [ghy@localhost bin]$ .//pulsar-admin topics stats myTopic1
   {
     "msgRateIn" : 0.0,
     "msgThroughputIn" : 0.0,
     "msgRateOut" : 0.0,
     "msgThroughputOut" : 0.0,
     "bytesInCounter" : 1170,
     "msgInCounter" : 15,
     "bytesOutCounter" : 1170,
     "msgOutCounter" : 15,
     "averageMsgSize" : 0.0,
     "msgChunkPublished" : false,
     "storageSize" : 1170,
     "backlogSize" : 1170,
     "publishRateLimitedTimes" : 0,
     "earliestMsgPublishTimeInBacklogs" : 0,
     "offloadedStorageSize" : 0,
     "lastOffloadLedgerId" : 0,
     "lastOffloadSuccessTimeStamp" : 0,
     "lastOffloadFailureTimeStamp" : 0,
     "publishers" : [ {
       "accessMode" : "Shared",
       "msgRateIn" : 0.0,
       "msgThroughputIn" : 0.0,
       "averageMsgSize" : 0.0,
       "chunkedMessageRate" : 0.0,
       "producerId" : 0,
       "supportsPartialProducer" : false,
       "metadata" : { },
       "producerName" : "standalone-41-6",
       "connectedSince" : "2022-10-10T15:34:33.518+08:00",
       "address" : "/192.168.3.188:60416",
       "clientVersion" : "2.10.1"
     } ],
     "waitingPublishers" : 0,
     "subscriptions" : {
       "myTopic1_subscriptionName1" : {
         "msgRateOut" : 0.0,
         "msgThroughputOut" : 0.0,
         "bytesOutCounter" : 1170,
         "msgOutCounter" : 15,
         "msgRateRedeliver" : 0.0,
         "messageAckRate" : 0.0,
         "chunkedMessageRate" : 0,
         "msgBacklog" : 12,
         "backlogSize" : 0,
         "earliestMsgPublishTimeInBacklog" : 0,
         "msgBacklogNoDelayed" : 12,
         "blockedSubscriptionOnUnackedMsgs" : false,
         "msgDelayed" : 0,
         "unackedMessages" : 0,
         "type" : "Exclusive",
         "activeConsumerName" : "消费者1",
         "msgRateExpired" : 0.0,
         "totalMsgExpired" : 0,
         "lastExpireTimestamp" : 0,
         "lastConsumedFlowTimestamp" : 1665387297333,
         "lastConsumedTimestamp" : 1665403383584,
         "lastAckedTimestamp" : 1665403383761,
         "lastMarkDeleteAdvancedTimestamp" : 0,
         "consumers" : [ {
           "msgRateOut" : 0.0,
           "msgThroughputOut" : 0.0,
           "bytesOutCounter" : 1170,
           "msgOutCounter" : 15,
           "msgRateRedeliver" : 0.0,
           "messageAckRate" : 0.0,
           "chunkedMessageRate" : 0.0,
           "consumerName" : "消费者1",
           "availablePermits" : 985,
           "unackedMessages" : 0,
           "avgMessagesPerEntry" : 1,
           "blockedConsumerOnUnackedMsgs" : false,
           "lastAckedTimestamp" : 1665403383761,
           "lastConsumedTimestamp" : 1665403383584,
           "metadata" : { },
           "connectedSince" : "2022-10-10T15:34:57.319+08:00",
           "address" : "/192.168.3.188:60461",
           "clientVersion" : "2.10.1"
         } ],
         "isDurable" : true,
         "isReplicated" : false,
         "allowOutOfOrderDelivery" : false,
         "consumersAfterMarkDeletePosition" : { },
         "nonContiguousDeletedMessagesRanges" : 3,
         "nonContiguousDeletedMessagesRangesSerializedSize" : 32,
         "subscriptionProperties" : { },
         "durable" : true,
         "replicated" : false
       }
     },
     "replication" : { },
     "deduplicationStatus" : "Disabled",
     "nonContiguousDeletedMessagesRanges" : 3,
     "nonContiguousDeletedMessagesRangesSerializedSize" : 32,
     "compaction" : {
       "lastCompactionRemovedEventCount" : 0,
       "lastCompactionSucceedTimestamp" : 0,
       "lastCompactionFailedTimestamp" : 0,
       "lastCompactionDurationTimeInMills" : 0
     }
   }
   [ghy@localhost bin]$
   


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