effectivekafka
effectivekafka copied to clipboard
Is there any errdata about the book?
I am going through page 150 (PDF), chapter 9, and the last paragraph for the section "Dynamic Configuration" says:
Now that we’re done with our examples, we can revert the configuration to its original state by deleting the cluster-wide entry:
kafka-configs.sh --bootstrap-server localhost:9092 \
--entity-type brokers --entity-default \
--describe num.io.threads
I was expecting to see something in the order:
kafka-configs.sh --bootstrap-server localhost:9092 \
--entity-type brokers --entity-default \
--alter --delete-config num.io.threads
but I am unsure. So I just want to double-check if the book is correct and if the parameter --describe actually applies changes to the cluster.
And a question more, is there any errdata for the book where one can check whether something is an error or not? I could not find anything either here or in leanpub.
Thanks!
You might be right, there appears to be a mistake there. Thanks for that!
There's no errata page yet, but I'll set one up.
I purchased the book and I agree with @silver-mx, book needs an errata and also an update. For example, on page 211 (chapter Chapter 13: Replication and Acknowledgements), book states that
The kafka-reassign-partitions.sh tool is limited to working with ZooKeeper. It cannot be used without the --zookeeper flag.
however, zookeper flag has been removed in 2021: https://github.com/apache/kafka/commit/ccde334ca9314e28b16b931293db0eb7822fde4f