lhotari opened a new issue, #25020: URL: https://github.com/apache/pulsar/issues/25020
### Search before reporting - [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](https://pulsar.apache.org/contribute/release-policy/#supported-versions) don't get bug fixes. I will attempt to reproduce the issue on a supported version of Pulsar client and Pulsar broker. ### User environment Any released version ### Issue Description This org.apache.pulsar.broker.service.TopicListService implementation doesn't currently handle session events ([org.apache.pulsar.metadata.api.extended.SessionEvent](https://github.com/apache/pulsar/blob/master/pulsar-metadata/src/main/java/org/apache/pulsar/metadata/api/extended/SessionEvent.java#L24)) at all. The consequence of this is that the state on the client side can get out of sync when the metadata store session has a temporary disruption. ### Error messages ```text None ``` ### Reproducing the issue - ### Additional information One potential solution is to retrieve the list of topics for the namespace after the metadata store session resumes after disconnection. It could then compare the changes and reconstruct the missed add/delete events to send to the client. ### 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]
