Get in Touch
 Duration 28 hours

Course Outline

Day 1: Foundations of Event-Driven Architecture in Go

  • Introduction to EDA
    • Defining Event-Driven Architecture
    • Comparing Monolithic, Microservice, and Event-Driven Systems
    • Why Go’s concurrency model and lightweight goroutines are well-suited for EDA
  • Core Concepts & Advantages
    • Achieving decoupling, scalability, and resilience in enterprise environments
    • Identifying Events, Producers, Consumers, and Event Brokers
    • Case studies and real-world examples demonstrating Go’s role in high-performance event systems
  • CAP Theorem & EDA Trade-offs
    • Exploring Consistency, Availability, and Partition Tolerance
    • Evaluating the impact of EDA on these properties
    • Methods for balancing consistency and availability in Go-based systems

Day 2: Events, Messages, and Communication Patterns in Go

  • Understanding Event Types
    • Distinguishing between Domain Events and Integration Events
    • Contrasting Synchronous and 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 within Go
  • Implementing Event Handling in Go
    • Survey of leading Go libraries and frameworks for messaging
    • Code demonstrations: dispatching and processing events using idiomatic Go techniques
    • Practical session: Developing a basic event-driven service in Go

Day 3: Messaging Systems & Event Brokers with Go

  • Choosing and Integrating Event Brokers
    • Review of leading brokers: Apache Kafka, RabbitMQ, and NATS
    • Comparing use cases and best practices for Go-based implementations
  • Setting Up Messaging Infrastructure
    • Configuring Docker Compose for Kafka, RabbitMQ, or NATS
    • Setting up topics, exchanges, queues, and channels
    • Overview of Go client libraries
  • Practical Workshop
    • Developing a Go microservice capable of producing and consuming events
    • Connecting the service to 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
    • Introducing KEDA (Kubernetes Event-Driven Autoscaling) for scaling event consumers
  • Error Handling and Monitoring
    • Managing event failures through strategic approaches
    • Implementing observability features in Go services
  • Advanced Topics & Q&A
    • Investigating Serverless Event-Driven Architectures with Go
    • Event Choreography vs. Orchestration: Applications and design considerations
    • Addressing common pitfalls, learned lessons, and industry best practices
    • Open Q&A session and collaborative troubleshooting

Requirements

  • Strong command of Go (Golang), with particular attention to goroutines and channels
  • Foundational knowledge of software architectural models, including monolithic and microservice structures
  • Working proficiency with Docker and Docker Compose
  • Basic understanding of REST APIs and general networking principles
  • Experience utilizing command-line interfaces and Git version control
  • Recommended but not mandatory: prior exposure to Kubernetes and messaging platforms like Kafka, RabbitMQ, or NATS

Target Audience

  • Go developers constructing scalable, event-driven applications
  • Software engineers shifting from monolithic or REST-centric architectures to asynchronous systems
  • DevOps and cloud engineers managing containerized or distributed microservices
  • Technical architects and system designers investigating EDA patterns using Go

Testimonials (7)

Upcoming Courses

Related Categories