Course Outline
Day 1: Foundations of Event-Driven Architecture in Go
- Introduction to EDA
- Defining Event-Driven Architecture.
- Comparing Monolithic, Microservices, and Event-Driven systems.
- Why Go’s concurrency model and lightweight goroutines are well-suited for EDA.
- Core Concepts & Benefits
- Achieving decoupling, scalability, and resilience in enterprise settings.
- Defining Events, Producers, Consumers, and Event Brokers.
- Real-world examples and case studies of Go powering high-performance event systems.
- CAP Theorem & Trade-offs in EDA
- Overview of Consistency, Availability, and Partition Tolerance.
- How EDA impacts these system properties.
- Strategies for balancing consistency and availability in Go-based architectures.
Day 2: Events, Messages, and Communication Patterns in Go
- Understanding Event Types
- Distinguishing between Domain Events and Integration Events.
- Synchronous versus Asynchronous events in Go applications.
- Messaging Patterns in Practice
- Implementing Publish-Subscribe (Pub/Sub) patterns in Go.
- Designing and structuring event payloads using JSON, Protocol Buffers, or Avro within Go.
- Implementing Event Handling in Go
- Review of popular Go libraries and frameworks for messaging.
- Code examples: Dispatching and processing events using idiomatic Go patterns.
- Hands-on session: Constructing a basic event-driven service in Go.
Day 3: Messaging Systems & Event Brokers with Go
- Selecting and Integrating Event Brokers
- Overview of key brokers: Apache Kafka, RabbitMQ, and NATS.
- Comparing use cases and best practices for Go-based systems.
- Setting Up Messaging Infrastructure
- Configuring Kafka, RabbitMQ, or NATS using Docker Compose.
- Setting up topics, exchanges, queues, and channels.
- Overview of Go client libraries.
- Hands-On Workshop
- Building a sample Go microservice capable of producing and consuming events.
- Integrating the service with the selected event broker.
- Debugging and testing event workflows.
Day 4: Deploying, Monitoring, and Advanced Topics in Go EDA
- Deploying Go Event-Driven Applications on Kubernetes
- Containerizing Go applications for production environments.
- Deploying Kafka (or alternative brokers) on Kubernetes clusters.
- Introduction to KEDA (Kubernetes Event-Driven Autoscaling) for scaling event consumers.
- Error Handling and Monitoring
- Strategies for handling event failures effectively.
- Implementing observability practices in Go services.
- Advanced Topics & Q&A
- Exploring Serverless Event-Driven Architectures with Go.
- Event Choreography vs. Orchestration: Use cases and design considerations.
- Common pitfalls, lessons learned, and industry best practices.
- Open Q&A session and interactive troubleshooting.
Requirements
- Strong command of Go (Golang), specifically the utilization of goroutines and channels.
- Foundational knowledge of software architecture models, including monoliths and microservices.
- Working familiarity with Docker and Docker Compose.
- Basic understanding of REST APIs and core networking principles.
- Proficiency with command-line utilities and Git version control.
- Prior experience with Kubernetes and messaging systems like Kafka, RabbitMQ, or NATS is recommended but not mandatory.
Target Audience
- Go developers focused on building scalable, event-driven applications.
- Software engineers shifting from synchronous, monolithic, or REST-based architectures to asynchronous systems.
- DevOps and cloud engineers working with containerized or distributed microservice environments.
- Technical architects and system designers exploring EDA patterns through the lens of 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.