From 9eae3fe6a5deaa954e679defa53eda696695fa82 Mon Sep 17 00:00:00 2001 From: Asiel Leal Celdeiro <15990580+lealceldeiro@users.noreply.github.com> Date: Tue, 23 Jan 2024 23:39:21 +0200 Subject: [PATCH] Update notes: Kafka: The definitive guide - Chapter 2: how to properly stop sending messages through the utility `kafka-console-producer` --- KafkaTheDefinitiveGuide/Chapter2/README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/KafkaTheDefinitiveGuide/Chapter2/README.md b/KafkaTheDefinitiveGuide/Chapter2/README.md index e7fc062..a43eeb6 100644 --- a/KafkaTheDefinitiveGuide/Chapter2/README.md +++ b/KafkaTheDefinitiveGuide/Chapter2/README.md @@ -84,7 +84,8 @@ docker run -it --rm --network app-tier \ ``` > When the console waits for input (symbol `>` visible) enter some message and hit enter (once for every message). -> To finish producing messages do `Ctrl` + `C` (`^C`) +> To finish producing messages send an end-of-file (EOF) character to close the client. In most common terminals, +> this is done with `Control` + `D` (`^D`). If that doesn't work, then do `Ctrl` + `C` (`^C`) - **Consume messages** from the previously created topic