Get in Touch

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
 28 Hours

Number of participants


Price per participant

Testimonials (7)

Upcoming Courses

Related Categories