eventuate-tram / eventuate-tram-core

Transactional messaging for microservices
Other
1.05k stars 186 forks source link

SqlTableBasedDuplicateMessageDetector records IDs of domain events that are ignored #128

Open cer opened 4 years ago

cer commented 4 years ago

e.g.

This happens because MessageConsumer subscribes to channels but DomainEventHandler is only interested in certain events within the channel.

This results in more DB inserts.

One solution would be for MessageHandler to implement boolean isInteresting(Message m) so that SqlTableBasedDuplicateMessageDetector can ignore boring messages.