Errata

Learning API Styles

Errata for Learning API Styles

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
Printed, PDF, ePub, Mobi, O'Reilly learning platform, Other Digital Version
Page 111
Example 4-4, callout number 2

For clarity, the callout number 2 should be extented after "The length of this
TCP segment data is 19 bytes." by the following sentence:

The \r\n\r\n sequence isn’t visible in the printed output, but it is explicitly included in this snippet, to remind us about its existence.

Marcin Dulak
 
Mar 18, 2026 
Printed, PDF, ePub, Mobi, O'Reilly learning platform, Other Digital Version
Page 115
Example 4-7

To avoid misformatting of arrow symbols as question marks when reading pcap files with tshark, use the --no-tty (-T) option in docker compose exec --no-tty. This rcommendation applies to all reading of pcap files with tshark in the book.

Marcin Dulak
 
Mar 18, 2026 
Printed, PDF, ePub, Mobi, O'Reilly learning platform, Other Digital Version
Page 118
3rd paragraph

The discussion of the DNS should be extended to include packet capture instructions to read as follows:

An isolated DNS request/response can be performed using a docker compose exec client bash -c "dig +short example.com @1.1.1.1" command. Instructions for capturing DNS traffic are in the src/http/README.md file in the book’s code repository.

Marcin Dulak
 
Mar 18, 2026 
Printed, PDF, ePub, Mobi, O'Reilly learning platform, Other Digital Version
Page 125
Example 4-14, callout 2

Clarification needs to be added how to recognize the server by its port number 80 in the packet sequence:

... they can be identified instead by their ports (the server uses port 80) ...

Marcin Dulak
 
Mar 18, 2026 
Printed, PDF, ePub, Mobi, O'Reilly learning platform, Other Digital Version
Page 248
Example 8-2. gRPC lab setup

Outdated instructions. The correct one are

cd src/grpc
bash scripts/setup_containers.sh

Lukasz Dynowski
 
Jul 14, 2025 
Printed, PDF, ePub, Mobi, O'Reilly learning platform, Other Digital Version
Page 277
Example 8-21

The prerequisite for 8-21 is stated incorrectly. This example requires the enricher gRPC server started (8-14), so it should be:

Example 8-21. gRPC reflection as online documentation (requires setup from Example 8-14)

Marcin Dulak
 
Mar 18, 2026 
Printed, PDF, ePub, Mobi, O'Reilly learning platform, Other Digital Version
Page 328, 366
Example 10-13 and 11-13

The latest release of the asyncapi CLI removed the --use-new-generator flag. As a consequence, this flag must be removed too.

Lukasz Dynowski
 
Mar 08, 2026 
Printed, PDF, ePub, Mobi, O'Reilly learning platform, Other Digital Version
Page 344
Note

Wrong path in the topics example.

The path should be src/rabbitmq/5.Topics not src/rabbitmq/4.Topics

Lukasz Dynowski
 
Jul 14, 2025