I was curious regarding the most common (or recommended) implementations of disruptor about the journaling step. And the most common questions of mine are:
- how it is actually implemented (by example)?
- Is it wise to use JPA?
- What DB is commonly used (by the community that has already implement projects with disruptor)?
- Is it wise to be used at the intermediate handlers (of EventProcessors) so the State of each message should be saved, rather than before and after the business logic process?
By the way (I am sorry, I know this is not related with the journalling step), what is the right way to delete a message from the RingBuffer during an eventHandler process (assuming that the message is dead/expired and should be removed by the whole procedure). I was wondering something similar as the Dead Letter Channel pattern.
Cheers!