The current indexes config in the repository is outdated and does not work anymore with the Spine 2.x version of the library.
At least the following index should be added:
- kind: spine.server.aggregate.AggregateEventRecord
properties:
- name: aggregate_id
- name: version
direction: desc
- name: created
direction: desc
We should also check if the currently defined indexes are still relevant.