by alexatkeplar · 11y ago · 0 comments
https://engineering.linkedin.com/distributed-systems/log-wha...
> When you create a subscription, the system establishes a sync point. That is, your subscriber is guaranteed to receive any message published after this point.
[1] https://cloud.google.com/pubsub/subscriber
With Kafka or Kinesis, I can write events to a stream/topic completely independently of any consumer. I can then bring as many consumers online as I want, and they can start processing from the beginning of my stream if they want. If one of my consumers has a bug in it, I can ask it to go back and start again. That's what I mean by an immutable stream in Kafka or Kinesis.
If I understand your point correctly, the only expectation we haven't matched is the ability to "go back and start again". We hear you.
1. Can you direct the consumer to a point in stream? (ideally time based i.e messages from 16 Nov UTC)
2. Can old events be auto removed defined by rules?
1. each group id represents a point in the stream that a consumer is processing off of. You could technically have multiple processes consuming off of a single group id.
2. there was a configuration on time to keep things there as well as space if I remember correctly, but basically, there has to be. There's a pretty hard limit on what all you can store on disk.
edit: changed consumer id to group id. If you want more info, feel free to ping me about the ecosystem