Event-Driven Odyssey: Kafka, Nest, and GraphQL in Action

In today s fast-paced world, real-time data processing and event-driven architectures are at the heart of scalable applications. Event-Driven Odyssey: Kafka, Nest, and GraphQL in Action is a hands-on, 2-day workshop designed to equip developers with the knowledge and skills to build event-driven APIs using Apache Kafka, Nest.js, MongoDB, and GraphQL. You will learn how to stream data in real time, create reactive APIs, and integrate Kafka into a microservices ecosystem using best practices.

OBJECTIVES

  • The fundamentals of Apache Kafka and event-driven systems
  • Setting up a Kafka broker and working with Producers, Consumers, and Topics
  • Introduction to Nest.js and its modular architecture
  • Integrating MongoDB with Nest.js for data persistence
  • Connecting Nest.js with Kafka and implementing message streaming
  • Introduction to GraphQL and why it’s better than REST
  • Creating GraphQL APIs in Nest.js with Queries, Mutations, and Subscriptions
  • Using Kafka as an event source for real-time GraphQL subscriptions
  • Implementing multi-topic messaging for scalable microservices
  • Deploying the system with Docker & monitoring Kafka services

WHO SHOULD ATTEND?

  • Backend Developers looking to integrate Kafka into their applications
  • Full-Stack Developers interested in building real-time GraphQL APIs
  • Software Architects who want to design scalable event-driven systems
  • Engineers working with microservices who need Kafka for distributed messaging
  • Anyone who wants to learn Kafka, Nest.js, and GraphQL in a practical way

PREREQUISITES

  • Basic experience with JavaScript or TypeScript
  • Familiarity with Node.js and REST APIs
  • Some knowledge of MongoDB or relational databases
  • No prior Kafka or GraphQL experience required – we’ll teach you from scratch!

ALL PARTICIPANTS WILL RECEIVE

  • Training manuals/documentation.
  • Certification upon completion of the Event-Driven Odyssey: Kafka, Nest, and GraphQL in Action.
  • Excellent care and attention from instructors and staff.
  • Unlimited attendance to the Event-Driven Odyssey: Kafka, Nest, and GraphQL in Action (limited to 5 repeat attendees per training session; if you wish to attend the workshop again, please contact our Facebook Page, Line, Email, or other channels to reserve your seat).
  • If you are unable to attend the training session this time, you can reschedule your participation according to the training schedule.
  • A fully functional event-driven API using Kafka, Nest.js, and GraphQL
  • Deep understanding of real-time messaging and microservices
  • Source code and templates for building scalable event-driven applications
  • Certificate of Completion to showcase your new skills
  • Networking opportunities with like-minded developers

OUTLINE

  1. Introduction to Kafka & Event-Driven Architecture
    • Overview of Kafka: What it is and why it’s useful
    • Understanding event-driven architecture and use cases
    • Key Kafka components: Producers, Consumers, Topics, Brokers
    • Setting up a local Kafka environment using Docker
  2. Getting Started with Nest.js & MongoDB
    • Introduction to Nest.js framework
    • Setting up a Nest.js project with TypeScript
    • Integrating MongoDB with Mongoose
    • Creating a basic REST API to interact with MongoDB
  3. Kafka Integration with Nest.js
    • Installing Kafka dependencies in Nest.js
    • Connecting a Nest.js service to Kafka
    • Producing messages to a Kafka topic
    • Consuming messages from a Kafka topic
  4. Practical Exercise – Real-Time Data Processing
    • Implementing a simple message processing system
    • Writing producers and consumers in Nest.js
    • Logging and debugging Kafka messages
    • Hands-on exercise: Sending and receiving messages with Kafka and Nest.js
  5. Introduction to GraphQL with Nest.js
    • Why GraphQL? Comparison with REST
    • Setting up a GraphQL API in Nest.js
    • Defining schemas, queries, and mutations
    • Connecting GraphQL to MongoDB
  6. Building a Real-Time GraphQL API with Kafka
    • Using Kafka as an event source for GraphQL subscriptions
    • Implementing real-time messaging with GraphQL Subscriptions
    • Handling event-driven updates in the GraphQL API
  7. Advanced Kafka Topics & Scaling
    • Handling errors and retries in Kafka consumers
    • Partitioning and consumer groups for scalability
    • Monitoring Kafka with tools like Confluent Control Center
    • Using Kafka Streams for real-time data transformation
  8. Hands-on Project – Event-Driven GraphQL API
    • Building a real-time chat API using GraphQL, Nest.js, Kafka, and MongoDB
    • Implementing multi-topic messaging with Kafka
    • Deploying Kafka and Nest.js services with Docker
    • Final project demonstration & Q&A session

Share:

You May Also Like

The Fundamental Docker course is a learning experience about the basics of Docker, which is an efficient technology used for...
The course Fundamental Kubernetes is designed to provide an introduction to the basics of Kubernetes, an official cluster management and...
The Modern Web Frontend with React (Next.js – App Router – Typescript) course is a learning experience focused on the...