What is Event-Driven Architecture and what is the role of Kafka in Microservices?

What is Event-Driven Architecture (EDA)? In Event-Driven Architecture, services: Produce events when something happens Consume events asynchronously Do not wait for each other πŸ‘‰ Services are loosely coupled. πŸ“Œ Example…

Continue ReadingWhat is Event-Driven Architecture and what is the role of Kafka in Microservices?

How does Authentication & Authorization work in Microservices (JWT & OAuth2)?

Authentication vs Authorization Authentication β†’ Who are you? (identity) Authorization β†’ What can you access? (permissions) πŸ”Ή Challenge in Microservices Multiple services Stateless REST APIs Shared security logic Avoid session…

Continue ReadingHow does Authentication & Authorization work in Microservices (JWT & OAuth2)?