Microservices - Event-Driven Architecture
Consider this code snippet in a microservices system using events:
eventBus.publish('OrderCreated', { orderId: 123 });
// Service B listens for 'OrderCreated' and processes the order asynchronously
What is the main benefit of this event-based approach?