spring-pulsar icon indicating copy to clipboard operation
spring-pulsar copied to clipboard

Add ability to seek offsets

Open onobc opened this issue 3 years ago • 8 comments

onobc avatar Sep 21 '22 15:09 onobc

Consider support for SeekAware and/or PulsarReader

onobc avatar Sep 23 '22 14:09 onobc

NB: Pulsar Reader is available in reactive mode.

cbornet avatar Nov 17 '22 14:11 cbornet

Users can manually seek offsets via the seek API on the Consumer or Reader.

For @PulsarListener the consumer can be accessed directly (described here. Once obtained, the seek API can be invoked.

Long term, something like SeekAware (Spring Kafka) is desired. Moving this out of 1.0.0 based on the above.

onobc avatar Feb 13 '23 03:02 onobc

Hey @onobc, can I work on this?

ark-tik avatar Apr 13 '24 04:04 ark-tik

Hi @KartikShrivastava ,

Sure!. I have only looked at this "on the surface" though. I would suggest first coming up w/ a high level design (either discuss here or via a draft PR). It may be helpful to understand how we do this in Spring Kafka. Not that we will do exactly what is done there but it may help w/ ideas.

Thanks

onobc avatar Apr 13 '24 16:04 onobc

Cool, thanks for the info. I'll start with documenting my thoughts, will share it here for further discussion

ark-tik avatar Apr 14 '24 07:04 ark-tik

Hey @onobc, an update on this, currently to gain more context for this issue I'm learning more about spring-pulsar and spring ecosystem in general (since I'm from django background). Thus, this is taking more time than expected.

ark-tik avatar Apr 28 '24 10:04 ark-tik

No worries @KartikShrivastava ! No rush at all. Also, if you ever have any questions on your journey about anything at all, don't hesitate to ping me directly. One way would be on the Pulsar community Slack channel.

onobc avatar Apr 28 '24 19:04 onobc