jmalloc / ax

A message-driven application toolkit for Go. [EXPERIMENTAL]
MIT License
9 stars 3 forks source link

Projection consumer does not restart if the projection offset is reset. #129

Closed jmalloc closed 7 months ago

jmalloc commented 6 years ago

Currently, you have to manually restart the consumer in order for it to recognise that it's offset has been reset. Ideally it should detect this automatically. That way, rebuilding a read model is as simple as clearing its data and projection offset in a single DB transaction.