liftbridge-io / go-liftbridge

Go client for Liftbridge. https://github.com/liftbridge-io/liftbridge
Apache License 2.0
66 stars 18 forks source link

how to durable subscription #108

Closed Huangsir closed 3 years ago

Huangsir commented 3 years ago

how to durable position in subscription?

tylertreat commented 3 years ago

You need to use SetCursor and FetchCursor to store/retrieve consumer position.

One consumer groups are implemented this will be handled transparently.

Huangsir commented 3 years ago

it seems that SetCursor and FetchCursor not exist in v2

tylertreat commented 3 years ago

A new release of v2 needs to be made, but in the meantime you can pin against a specific commit.