Packt

Building & Testing Kafka Microservices with Spring Boot & AI

Build in-demand skills with a full year of Coursera Plus, now $239. Save now.

Packt

Building & Testing Kafka Microservices with Spring Boot & AI

Included with Coursera PlusLearn more

Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

1 week to complete
at 10 hours a week
Flexible schedule
Learn at your own pace
Gain insight into a topic and learn the fundamentals.
Intermediate level

Recommended experience

1 week to complete
at 10 hours a week
Flexible schedule
Learn at your own pace

What you'll learn

  • Build Kafka producers and consumers with Spring Boot

  • Implement transactions and exactly-once semantics

  • Deploy microservices using Docker and Kubernetes

Details to know

Shareable certificate

Add to your LinkedIn profile

Recently updated!

November 2026

Assessments

11 assignments

Taught in English

See how employees at top companies are mastering in-demand skills

 logos of Petrobras, TATA, Danone, Capgemini, P&G and L'Oreal

Build your subject-matter expertise

This course is part of the Kafka Microservices with Spring Boot, Docker and AI Specialization
When you enroll in this course, you'll also be enrolled in this Specialization.
  • Learn new concepts from industry experts
  • Gain a foundational understanding of a subject or tool
  • Develop job-relevant skills with hands-on projects
  • Earn a shareable career certificate

There are 10 modules in this course

This module guides learners through building a Kafka producer microservice for library events, covering project setup, API development, Kafka integration, and configuration management. Learners will gain hands-on experience with Spring Boot, KafkaTemplate, and best practices for scalable event publishing.

What's included

21 videos1 reading1 assignment

This module explores the concepts of unit and integration testing, focusing on how to test API endpoints and service interactions. Learners will gain hands-on experience using MockMvc and KafkaTemplate to validate both individual components and full system behavior. The module emphasizes best practices for ensuring application reliability through effective testing strategies.

What's included

6 videos1 assignment

This module explores the importance of API documentation using OpenAPI and guides learners through integrating Swagger into a service to generate interactive documentation. It covers key concepts, practical implementation steps, and the benefits of using standardized API specifications.

What's included

2 videos1 assignment

This module explores how to create and use Agents.MD files and coding skills to improve AI-assisted code generation. Learners will gain hands-on experience in building specific skills like Testing and Controller Skills for better coding outcomes.

What's included

4 videos1 assignment

This module covers the development of a Kafka consumer microservice using Spring Boot, including architecture design, project setup, message processing, and configuration. Learners will gain hands-on experience with Kafka consumer implementation, deserialization techniques, and Spring Kafka auto-configuration.

What's included

9 videos1 assignment

This module explores the mechanics of consumer groups, offset management, and concurrent processing in Kafka. Learners will gain hands-on experience with configuring and managing message consumption in distributed systems.

What's included

4 videos1 assignment

This module teaches learners how to integrate a PostgreSQL database into a library events application, manage schema versioning with Flyway, and implement data persistence using JPA and Spring Data. It covers the creation of entity classes, repository patterns, and end-to-end testing of the application workflow.

What's included

6 videos1 assignment

This module teaches how to write and execute integration tests for a Kafka consumer using Embedded Kafka. Learners will gain hands-on experience in setting up isolated testing environments and validating consumer behavior in real-world scenarios.

What's included

1 video1 assignment

This module introduces the creation of an Agents.MD file to enhance AI-assisted development for the Library Events Consumer service, focusing on improving accuracy and consistency in software development practices.

What's included

1 video1 assignment

This module covers the creation of RESTful endpoints for managing book data and library events, along with implementing Swagger documentation to enhance API usability and testing. Learners will gain hands-on experience in building CRUD operations and improving API documentation practices.

What's included

3 videos1 reading2 assignments

Earn a career certificate

Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.

Instructor

Packt - Course Instructors
Packt
2,641 Courses767,813 learners

Offered by

Packt

Why people choose Coursera for their career

Felipe M.

Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."

Jennifer J.

Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."

Larry W.

Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."

Chaitanya A.

"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

What brings you to Coursera today?

Frequently asked questions