This article is a book excerpt from Apache Kafka 1.0 Cookbook written by Raúl Estrada. This book will show how…