For the latest stable version, please use Korvet 0.12.5!

Topic Management

This guide covers creating and managing topics in Korvet.

Creating Topics

Topics are automatically created when you first produce to them, or you can create them explicitly:

kafka-topics --bootstrap-server localhost:9092 \
  --create \
  --topic my-topic \
  --partitions 3 \
  --replication-factor 1

Listing Topics

List all topics:

kafka-topics --bootstrap-server localhost:9092 --list

Describing Topics

Get details about a topic:

kafka-topics --bootstrap-server localhost:9092 \
  --describe \
  --topic my-topic

Deleting Topics

Delete a topic:

kafka-topics --bootstrap-server localhost:9092 \
  --delete \
  --topic my-topic

Topic Configuration

Topics can be configured with:

  • Partitions: Number of partitions for parallelism

  • Retention: How long messages are kept in hot storage

  • Compression: Compression codec (none, gzip, snappy, lz4, zstd)