pulsar icon indicating copy to clipboard operation
pulsar copied to clipboard

Revisit TableView/Builder Listener Interface

Open heesung-sohn opened this issue 1 year ago • 2 comments

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!

heesung-sohn avatar Aug 12 '24 21:08 heesung-sohn

PR propose : https://github.com/heesung-sn/pulsar/pull/79

heesung-sohn avatar Aug 12 '24 23:08 heesung-sohn

Raised a PIP for this proposal: https://github.com/apache/pulsar/pull/23167

heesung-sohn avatar Aug 13 '24 17:08 heesung-sohn