Errata

Kafka: The Definitive Guide

Errata for Kafka: The Definitive Guide, Second Edition

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.

Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted By Date submitted Date corrected
ePub,
Page Preface
"How to Contact Us" section

In the Preface under the "How to Contact Us" section there is a reference to downloadeable content that does not exist. "We have a web page for this book, where we list errata, examples, and any additional information. You can access this page at..."

Please remove from Preface or update with an existing link.

Note from the Author or Editor:
There is no overall GitHub repo for this book, so we will update the wording in a future reprint.

Anonymous  Oct 06, 2022 
Page 1
Chapter 1. Meet Kafka

In Chapter 1, there are three instances where "ensures" should be used instead of "assures". See https://www.grammarly.com/blog/assure-ensure-insure/.

Messages and Batches - first paragraph:
"This assures that messages with the same key are always written to the same partition."

Producers and Consumers - second paragraph:
"This assures that all messages produced with a given key will get written to the same partition."

Producers and Consumers - fourth paragraph:
"The group assures that each partition is only consumed by one member."

Anonymous  Jan 11, 2021 
Page 44
page number and details in description

Typos:

Page 44: (104 instead of 1024 bytes)
Limiting user1 (identified by authenticated principal) to produce only 104 bytes per second and consume only 2048 bytes per second.

Page 102: Typo (describe the topic it)
you may need to describe the topic it and find out how many partitions exist prior to expanding it.

Page 119: Typo
In general, whe our goal is to never lose a message,

Page 130: Typo
How is this related to Kafka producer? I"If we configure a producer to have

he asks me to design a distributed system to capture user behaviour for analytical engine for prime video

Page 193: Typo
We will also touch very briefly on synthic metrics.

Page 194 : Typo
You do not need to overwhel the monitoring system by collecting tens of thousands of values on an ongoing basis.

Note from the Author or Editor:
Corrected.

rahul kanchi  Jul 01, 2021 
Page 45
Explanation of point 2

The explanation of "bin/kafka-configs --bootstrap-server localhost:9092 --alter --add-config 'pro-ducer_byte_rate=1024,consumer_byte_rate=2048' --entity-name user1 --entity-type users" (2) is "Limiting user1 (identified by authenticated principal) to produce only 104 bytes per second and consume only 2048 bytes per second". I believe the 104 bytes is a typo and should be 1024 bytes.

Note from the Author or Editor:
Good catch. Fixed.

Christo Lolov  Apr 10, 2021 
Page 67
last paragraph

** CORRECTION - I used word "Producer" where "Consumer" was actually meant to be used

Last paragraph talks about the Consumer offset commit as a message being sent to a specific topic named __consumer_offsets. From the sentence it is allowed to understand that this message is published by the Consumer itself, but the truth is that the message is actually published by the group coordinator. I think it is worth clarifying that.

BTW: this mistake is also present in the 1st edition of the book.

Note from the Author or Editor:
Clarified, although without mentioning the consumer coordinator directly - it was not the right place to add this internal detail.

Ion Olaru  Jun 01, 2021