liveBook · Manning

Topic deletion

As explained in Apache Kafka in Action

Topic deletion is the Kafka operation that removes a topic and its stored records.

When an online-store pipeline needs a clean reset, Kafka can delete the products.prices.changelog topic and its stored records. Listing the cluster afterward shows only __consumer_offsets, confirming that the topic is gone. section 3.1.2

Deletion has two observable consequences:

  • Removes the named topic from the cluster’s topic listing. section 3.1.2
  • Cleans up offsets for the deleted topic inside __consumer_offsets. section 3.1.2

How Apache Kafka in Action covers it

How deep it goes
Demonstrates the delete command and verifies absence, while deferring broader reliability and performance details.
Examples
Uses products.prices.changelog, kafka-topics.sh, and a post-deletion listing showing __consumer_offsets.
What it assumes
Assumes familiarity with kafka-topics.sh, topic names, and bootstrap-server connection options.
What you can do after
Operate/configure Kafka by deleting a named topic and checking that it no longer appears in the cluster.
How it connects
Connects topic deletion with Kafka topics, topic listings, and consumer offsets.

This explainer was generated by Manning's knowledge graph from the text of Apache Kafka in Action. The section links point to the parts of the book it draws on.