Choreography: A Path to Effective Application Integration
Too Long; Didn't ReadChoreography is an efficient, lightweight, distributed chain of command. Both the legacy system and the new systems emit Domain Events, which are published to Kafka. Each Kafka topic is backed by MongoDB collection using the Kafka MongoDB connector for Fault Tolerance and HA purposes. In case of failed processing of the domain event the failing side emits an event for compensating transactions instead of rollback.