liveBook · Manning

Topic

A topic is a named channel or category that groups messages or records for publication and delivery to interested consumers.

How 7 Manning books explain it

Apache Kafka in Action

A Kafka topic is a named stream of records to which producers publish and from which consumers read.

How it is used
Organizes producer-published records into named streams that independent consumers can read for real-time processing or later analysis.
How deep it goes
Works through creation and reading, then connects topics to partitions, replication, and leader metadata without detailing their implementations.
Examples
Uses a product-price changelog, Kafka command-line tools, and separate inventory and sales-analysis consumers.
What you can do after
Operate/configure it with kafka-topics.sh, then publish and independently reread price updates with Kafka console tools.

Read how Apache Kafka in Action explains topic →

Kafka for Architects

A Kafka topic is a named, append-oriented stream of records that Kafka stores and makes available to consumers.

How it is used
Uses topics to route related messages between producers and consumers and to separate event types in a customer-data workflow.
How deep it goes
Explains naming, subscriptions, partitions, ordering, retention and compaction, including the limits of cross-partition order and key lookup.
Examples
Uses separate transaction and profile topics for a customer dashboard and a compacted account-balance topic for current state.
What you can do after
Operate/configure Kafka topics by choosing keys, partitioning and retention policies to meet ordering, history and current-state needs.

Read how Kafka for Architects explains topic →

Kafka Streams in Action, Second Edition

A Kafka topic is a named, append-only stream of records that producers publish to and consumers read from.

How it is used
Connects producers and independent consumers through durable event storage for event-streaming applications.
How deep it goes
Explains topic storage, partitions, replication, ordering, local creation, and consumer polling; defers prior Schema Registry detail.
Examples
Uses retail sales, rewards, sales trends, inventory, and keyed login-search-purchase clickstream events.
What you can do after
Operate/configure topics locally, then produce and poll records through Kafka clients.

Read how Kafka Streams in Action, Second Edition explains topic →

AI-Powered Developer: Build software with ChatGPT and Copilot

A Kafka topic is a named, partitioned stream to which producers publish records and from which consumers read them.

How it is used
Deploys topics as event streams connecting producers, consumers, and domain updates in an asset-monitoring application.
How deep it goes
Demonstrates creation, console operations, Python consumption, JSON records, and architectural review, but does not detail Kafka internals.
Examples
Uses the asset_location topic, location-update JSON records, console commands, and a Python KafkaConsumer.
What you can do after
Operate/configure a local topic, publish and consume records, and evaluate generated consumer code for coupling and correctness.

Read how AI-Powered Developer: Build software with ChatGPT and Copilot explains topic →

Spring Microservices in Action

A Kafka topic is a named stream to which records are published and from which they can be consumed.

How it is used
Carries organization-change messages published by the organization service to Kafka.
How deep it goes
Configures a destination and broker connection, without explaining topic internals.
Examples
Uses orgChangeTopic for JSON messages about organization changes, including the organization ID and action.
What you can do after
Apply it via Spring Cloud Stream by routing producer output to a configured Kafka destination.

Read how Spring Microservices in Action explains topic →

Digital Twins in Action

An MQTT topic is a hierarchical name used to route published messages to clients that subscribe to matching topic names.

How it is used
Routes sensor messages through a decoupled publish-subscribe bus for a digital twin.
How deep it goes
Defines topics and explains hierarchical naming, wildcard selection, and broker routing through a concrete sensor architecture.
Examples
Uses home electricity, water, and environmental sensor names, plus a bedroom temperature and humidity sensor payload.
What you can do after
Evaluate topic hierarchies for logical subscriptions and growth in a sensor network.

Read how Digital Twins in Action explains topic →

Microservices Patterns, Second Edition

A topic is a broker-managed message destination representing a stream or publication target for messages.

How it is used
Guides messaging-technology selection by defining requirements for each channel first.
How deep it goes
Lists channel-selection criteria but does not describe topic internals or configuration.
Examples
Compares Kafka topics with channel constructs in ActiveMQ, RabbitMQ, Kinesis, SQS, and SNS.
What you can do after
Evaluate channel requirements before selecting a messaging broker.

Read how Microservices Patterns, Second Edition explains topic →

Also covered in

What to know first

Related concepts

Questions about topic

What is topic?

A topic is a named channel or category that groups messages or records for publication and delivery to interested consumers.

Which Manning books explain topic?

Apache Kafka in Action, Kafka for Architects, Kafka Streams in Action, Second Edition, AI-Powered Developer: Build software with ChatGPT and Copilot, Spring Microservices in Action, Digital Twins in Action and Microservices Patterns, Second Edition.

What should I know before learning topic?

Manning books that teach topic usually introduce message, stream processing, JSON and partition first.

What is topic a kind of?

Topic is a kind of messaging destination. A messaging object that identifies an endpoint to which messages can be sent or from which they can be received.

What are the parts of topic?

Topic includes partition.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.