coderzc commented on PR #24431: URL: https://github.com/apache/pulsar/pull/24431#issuecomment-2996248805
If we purpose are to ensure that the compaction task is successful, we only need to check `lastCompactedPosition` and `lastDispatchablePosition` beforen trigger compaction task. If `lastDispatchablePosition <= lastCompactedPosition`, then I just need to skip the compact task because there is no new data need to be compacted. If we need make the pulsar reader to read Kafka format data, then we need this change. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
