Closed andyl closed 6 years ago
What commit of the server are you using? I recently changed the ordering of the StartPosition
enum which might cause this problem.
Also, the server logs don't match your code. Note that the server logs show subscriptions with StartPosition
: OFFSET
, LATEST
, NEW_ONLY
, and OFFSET
. Your code shows:
stream_base = subscribe
stream_earliest = subscribe(:EARLIEST)
stream_latest = subscribe(:LATEST)
stream_new_only = subscribe(:NEW_ONLY)
So something is definitely off.
OK if you recently changed the StartPosition
enum that would explain it. I'm using the go get
liftbridge server - liftbridge --version
-> 0.0.1
. I'm using this spec: https://github.com/liftbridge-io/liftbridge-grpc/blob/master/api.proto
Thanks for your note - I'll keep my eye on this and adjust as things re-sync.
Yeah, sorry for that breaking change. I'm trying to keep breaking changes to a minimum but making necessary changes before a stable 1.0 release.
Closing this. Feel free to reopen if you are still hitting issues.
The StartPosition behavior is not what I expect. What I see:
Here's my code (from https://github.com/andyl/liftbridge_ruby/blob/master/lb_client)
Here's the output
Here's the Liftbridge debug log