Course Outline
Day 1: Foundations of Event-Driven Architecture in Go
- Introduction to EDA
- Defining Event-Driven Architecture
- Comparison of Monolithic, Microservices, and Event-Driven Systems
- Why Go's concurrency model and lightweight goroutines are ideal for EDA
- Core Concepts and Benefits
- Achieving decoupling, scalability, and resilience in enterprise systems
- Defining Events, Producers, Consumers, and Event Brokers
- Real-world case studies showcasing Go's role in high-performance event systems
- CAP Theorem and EDA Trade-offs
- Overview of Consistency, Availability, and Partition Tolerance
- How EDA impacts these properties
- Strategies for balancing consistency and availability in Go-based systems
Day 2: Events, Messages, and Communication Patterns in Go
- Understanding Event Types
- Domain Events vs. Integration Events
- Synchronous vs. Asynchronous events in Go applications
- Messaging Patterns in Practice
- Implementing Publish-Subscribe (Pub/Sub) in Go
- Designing and structuring event payloads using JSON, Protocol Buffers, or Avro in Go
- Implementing Event Handling in Go
- Overview of popular Go libraries and frameworks for messaging
- Code examples: dispatching and processing events using idiomatic Go patterns
- Hands-on session: Building a simple event-driven service in Go
Day 3: Messaging Systems and Event Brokers with Go
- Selecting and Integrating Event Brokers
- Overview of popular brokers: Apache Kafka, RabbitMQ, and NATS
- Comparison of use cases and best practices for Go-based systems
- Setting Up Messaging Infrastructure
- Docker Compose setup for Kafka, RabbitMQ, or NATS
- Configuring topics, exchanges, queues, and channels
- Overview of Go client libraries
- Hands-On Workshop
- Building a sample Go microservice that produces and consumes events
- Integrating the service with the selected event broker
- Debugging and testing event flows
Day 4: Deployment, Monitoring, and Advanced Topics in Go EDA
- Deploying Go Event-Driven Applications on Kubernetes
- Containerizing Go applications for production environments
- Deploying Kafka (or other brokers) on Kubernetes clusters
- Introduction to KEDA (Kubernetes Event-Driven Autoscaling) for scaling event consumers
- Error Handling and Monitoring
- Handling event failures using established strategies
- Implementing observability in Go services
- Advanced Topics and Q&A
- Exploring Serverless Event-Driven Architectures with Go
- Event Choreography vs. Orchestration: Use cases and design considerations
- Common pitfalls, lessons learned, and best practices
- Open Q&A session and interactive troubleshooting
Requirements
- Strong proficiency in Go (Golang), with a solid understanding of goroutines and channels
- A foundational grasp of software architecture models, including monoliths and microservices
- Working knowledge of Docker and Docker Compose
- Basic understanding of REST APIs and general networking principles
- Experience with command-line interfaces and Git version control
- Recommended but not mandatory: prior experience with Kubernetes and messaging systems such as Kafka, RabbitMQ, or NATS
Intended Audience
- Go developers focused on creating scalable, event-driven applications
- Software engineers moving from monolithic or REST-based architectures to asynchronous system designs
- DevOps and cloud engineers managing containerized or distributed microservices
- Technical architects and system designers investigating EDA patterns implemented in Go
Testimonials (7)
we write some code in GO and we learn some stuff regarding EDA like events, when and how.
Alin
Course - Event Driven Architecture Custom
It was an interactive course, no time to sleep :)). Also was nice to work in teams and then to debate according to each result.
Alina
Course - Event Driven Architecture Custom
I enjoyed most the discussions and the examples provided so we could reach by ourselves to the conclusions he wanted to share with us. I liked the pace, the english, the patience, that even if we did not came with the best answer he would not say it is wrong, but came with examples of what could be better.
Simona
Course - Event Driven Architecture Custom
The open discussions and going from understanding the problems/reasons (the `why`) to `EDA`.
Constantin
Course - Event Driven Architecture Custom
the approach of presenting things heavily based on interaction and examples
Virgil
Course - Event Driven Architecture Custom
The interactive nature of the course The self-discovery learning approach where you found answers yourselves The practical focus with real-life examples that made concepts more relatable
Roxana Sandu
Course - Event Driven Architecture Custom
Very interactive. The trainer was very knowledgeable and patient.