Please can you give me advice how to replay only one aggregate (not aggregate type) with given id on the fly?
Let’s say something wrong happened in the end while ObjectTypeEventListener was creating my object type (table + columns). Now I’d like to use this ObjectTypeEventListener (which is subscribing by default and spring bean) to rebuild that one object.
So I guess I must create new instance of this ObjectEventListener as TrackingEventProcessor and assign those events which I’m interested in.
Then remove data from projections (delete rows from object_type, object_type_columns with objectTypeId).
Then start the projection.
basically it should be action to rebuild object_type.
is there a simple way for doing this?
Any example would be greatly appreciated