szkoludasebastian commented on issue #22709: URL: https://github.com/apache/pulsar/issues/22709#issuecomment-2120334534
I was able to test my scenario somehow and I'm still getting message loss. Here are partitioned-stats: ``` { "msgRateIn" : 0.0, "msgThroughputIn" : 0.0, "msgRateOut" : 0.0, "msgThroughputOut" : 0.0, "bytesInCounter" : 0, "msgInCounter" : 0, "bytesOutCounter" : 1910988, "msgOutCounter" : 2991, "averageMsgSize" : 0.0, "msgChunkPublished" : false, "storageSize" : 108364655, "backlogSize" : 571007, "publishRateLimitedTimes" : 0, "earliestMsgPublishTimeInBacklogs" : 0, "offloadedStorageSize" : 0, "lastOffloadLedgerId" : 0, "lastOffloadSuccessTimeStamp" : 0, "lastOffloadFailureTimeStamp" : 0, "ongoingTxnCount" : 0, "abortedTxnCount" : 0, "committedTxnCount" : 0, "publishers" : [ { "msgRateIn" : 0.0, "msgThroughputIn" : 0.0, "averageMsgSize" : 0.0, "chunkedMessageRate" : 0.0, "producerId" : 0, "supportsPartialProducer" : false }, { "msgRateIn" : 0.0, "msgThroughputIn" : 0.0, "averageMsgSize" : 0.0, "chunkedMessageRate" : 0.0, "producerId" : 0, "supportsPartialProducer" : false } ], "waitingPublishers" : 0, "subscriptions" : { "microbatcher" : { "msgRateOut" : 0.0, "msgThroughputOut" : 0.0, "bytesOutCounter" : 1910988, "msgOutCounter" : 2991, "msgRateRedeliver" : 0.0, "messageAckRate" : 0.0, "chunkedMessageRate" : 0, "msgBacklog" : 208, "backlogSize" : 571007, "earliestMsgPublishTimeInBacklog" : 0, "msgBacklogNoDelayed" : 208, "blockedSubscriptionOnUnackedMsgs" : false, "msgDelayed" : 0, "unackedMessages" : 868, "type" : "Key_Shared", "msgRateExpired" : 0.0, "totalMsgExpired" : 0, "lastExpireTimestamp" : 0, "lastConsumedFlowTimestamp" : 0, "lastConsumedTimestamp" : 0, "lastAckedTimestamp" : 0, "lastMarkDeleteAdvancedTimestamp" : 0, "consumers" : [ { "msgRateOut" : 0.0, "msgThroughputOut" : 0.0, "bytesOutCounter" : 490770, "msgOutCounter" : 768, "msgRateRedeliver" : 0.0, "messageAckRate" : 0.0, "chunkedMessageRate" : 0.0, "availablePermits" : 49232, "unackedMessages" : 768, "avgMessagesPerEntry" : 0, "blockedConsumerOnUnackedMsgs" : false, "readPositionWhenJoining" : "3489:0", "lastAckedTimestamp" : 0, "lastConsumedTimestamp" : 0, "lastConsumedFlowTimestamp" : 0, "lastAckedTime" : "1970-01-01T00:00:00Z", "lastConsumedTime" : "1970-01-01T00:00:00Z" }, { "msgRateOut" : 0.0, "msgThroughputOut" : 0.0, "bytesOutCounter" : 63788, "msgOutCounter" : 100, "msgRateRedeliver" : 0.0, "messageAckRate" : 0.0, "chunkedMessageRate" : 0.0, "availablePermits" : 49900, "unackedMessages" : 100, "avgMessagesPerEntry" : 0, "blockedConsumerOnUnackedMsgs" : false, "readPositionWhenJoining" : "3489:0", "lastAckedTimestamp" : 0, "lastConsumedTimestamp" : 0, "lastConsumedFlowTimestamp" : 0, "lastAckedTime" : "1970-01-01T00:00:00Z", "lastConsumedTime" : "1970-01-01T00:00:00Z" }, { "msgRateOut" : 0.0, "msgThroughputOut" : 0.0, "bytesOutCounter" : 0, "msgOutCounter" : 0, "msgRateRedeliver" : 0.0, "messageAckRate" : 0.0, "chunkedMessageRate" : 0.0, "availablePermits" : 50000, "unackedMessages" : 0, "avgMessagesPerEntry" : 0, "blockedConsumerOnUnackedMsgs" : false, "readPositionWhenJoining" : "3489:0", "lastAckedTimestamp" : 0, "lastConsumedTimestamp" : 0, "lastConsumedFlowTimestamp" : 0, "lastAckedTime" : "1970-01-01T00:00:00Z", "lastConsumedTime" : "1970-01-01T00:00:00Z" }, { "msgRateOut" : 0.0, "msgThroughputOut" : 0.0, "bytesOutCounter" : 0, "msgOutCounter" : 0, "msgRateRedeliver" : 0.0, "messageAckRate" : 0.0, "chunkedMessageRate" : 0.0, "availablePermits" : 50000, "unackedMessages" : 0, "avgMessagesPerEntry" : 0, "blockedConsumerOnUnackedMsgs" : false, "readPositionWhenJoining" : "3489:0", "lastAckedTimestamp" : 0, "lastConsumedTimestamp" : 0, "lastConsumedFlowTimestamp" : 0, "lastAckedTime" : "1970-01-01T00:00:00Z", "lastConsumedTime" : "1970-01-01T00:00:00Z" } ], "isDurable" : true, "isReplicated" : false, "allowOutOfOrderDelivery" : false, "consumersAfterMarkDeletePosition" : { "microbatcher-consumer-8b84fd23-9071-4cd2-83dc-d92478bf1ef0" : "199:2389", "microbatcher-consumer-59971e53-578b-4a15-931f-dd6fb432b449" : "199:2389", "microbatcher-consumer-dfa2669e-6142-480f-a98d-7076acd91628" : "199:2389" }, "nonContiguousDeletedMessagesRanges" : 0, "nonContiguousDeletedMessagesRangesSerializedSize" : 0, "delayedMessageIndexSizeInBytes" : 0, "subscriptionProperties" : { }, "filterProcessedMsgCount" : 0, "filterAcceptedMsgCount" : 0, "filterRejectedMsgCount" : 0, "filterRescheduledMsgCount" : 0, "durable" : true, "replicated" : false } }, "replication" : { }, "nonContiguousDeletedMessagesRanges" : 0, "nonContiguousDeletedMessagesRangesSerializedSize" : 0, "delayedMessageIndexSizeInBytes" : 0, "compaction" : { "lastCompactionRemovedEventCount" : 0, "lastCompactionSucceedTimestamp" : 0, "lastCompactionFailedTimestamp" : 0, "lastCompactionDurationTimeInMills" : 0 }, "metadata" : { "partitions" : 100, "deleted" : false }, "partitions" : { } } ``` there are 868 messages unacknowledged. This is the last batch which should be flushed after 10 minutes. It should contain ~5000 msgs so ~4200 msgs are lost. -- 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-unsubscr...@pulsar.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org