jiangpengcheng opened a new issue, #23617: URL: https://github.com/apache/pulsar/issues/23617
### Search before asking - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar. ### Read release policy - [X] I understand that unsupported versions don't get bug fixes. I will attempt to reproduce the issue on a supported version of Pulsar client and Pulsar broker. ### Version https://github.com/apache/pulsar/tree/v3.0.7 ### Minimal reproduce step 1. deploy the pulsar cluster using v3.0.7 2. create a window function ``` bin/pulsar-admin functions create --jar /pulsar/examples/api-examples.jar --name test-window-java --className org.apache.pulsar.functions.api.examples.window.LoggingWindowFunction --inputs persistent://public/default/api-java-fn-input --window-length-count 10 --sliding-interval-count 5 ``` 3. send 3 messages to the `persistent://public/default/api-java-fn-input` topic 4. get the topic stats of `persistent://public/default/api-java-fn-input`, the backlog of subscription `public/default/test-window-java` should be 3, because the window is not triggered yet, so the 3 messages should not be acked ### What did you expect to see? the `msgBacklog` for subscription `public/default/test-window-java` should be 3 ### What did you see instead? the `msgBacklog` for subscription `public/default/test-window-java` is 0 ### Anything else? _No response_ ### Are you willing to submit a PR? - [X] I'm willing to submit a PR! -- 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]
