Closed dennisdoomen closed 6 years ago
I guess we must update the checkpoint no matter what. Especially it should be updated along with the actual data within the same transaction. Otherwise there is a chance of applying same events several times. Right?
Apart from that, real case from prod - 250k events which one of the projections is not interested in. If we don't update the checkpoint, there is a chance reading them again and again.
p.s. Single update by key per batch is nothing. Not worth optimizing.
Should be a good improvement indeed. However for Liquid Projections this will require deep integration into the event maps. The interfaces will change.
Resolved in 3.0.0
Suggested by @CoenRutgers