pulsar
pulsar copied to clipboard
Revisit TableView/Builder Listener Interface
Search before asking
- [X] I searched in the issues and found nothing similar.
Motivation
Currently, the table view handler registration interface, foreachListen and listen needs to be called after the tableView.start(). However, some messages could be missed(not handled) if the handlers are registered too late.
The current handlers cannot differentiate existing and tailing messages. Some business logic might need to handle them differently.
Solution
We probably need to revisit TableView/Builder interface to resolve the above issues correctly.
Alternatives
Unknown
Anything else?
N/A
Are you willing to submit a PR?
- [x] I'm willing to submit a PR!
PR propose : https://github.com/heesung-sn/pulsar/pull/79
Raised a PIP for this proposal: https://github.com/apache/pulsar/pull/23167