thoth
thoth copied to clipboard
Create a TCK
A Technology Compatibilty Kit would be helpfull to ensure every implementations of scribre-core are corrects.
This would be a great help to #3.
Some work is done on #33 , but some works remains:
- [x] Setup with TestNg (Junit is not an option here since we need to inherit tests, which is not possible in Junit5)
- [x] Command submission should generate & write event
- [x] Invalid command submission should not write anything
- [x] Event should be published in Kafka, even if it's down at first
- [x] Aggregation should rebuild state correctly
- [x] Command submission should be rejected if database is down
- [ ] In transaction projections should be updated
- [ ] Eventually consistent projections should be updated event if Kafka is down at first
- [ ] Consumer should receive published event, even if Kafka is down at first
Implementation are done for both in memory and non-reactive jooq implementation, therefore we need to
- [ ] Implement the above tasks for jooq reactive client