Skip to main content

What is event-driven architecture in microservices?

Mid Microservices
Quick Answer In event-driven microservices, services communicate by publishing events to a broker (Kafka, RabbitMQ). No direct service-to-service calls. Producer publishes "UserRegistered", consumer services independently react. This decouples services temporally and spatially - they don't need to be running at the same time or know each other's addresses.

Answer

Event-driven architecture means services communicate via published events instead of synchronous calls.

This improves loose coupling, scalability, and resilience. Events can be domain events, integration events, or system events.

S
SugharaIQ Editorial Team Verified Answer

This answer has been peer-reviewed by industry experts holding senior engineering roles to ensure technical accuracy and relevance for modern interview standards.

Want to bookmark, take notes, or join discussions?

Sign in to access all features and personalize your learning experience.

Sign In Create Account

Source: SugharaIQ

Ready to level up? Start Practice