TopicRequirement

data class TopicRequirement(val topic: String, val partitions: Int, val count: TopicRequirement.Count, val purpose: String)

A topic one of a node's contexts owns: its name, the partitions it is created with, which counts it is refused at (count), and what it is for, as a failed check says. A topic held to a log's count has as many partitions as a log, so its count must be a valid one (Partitioner.requirePartitions).

Constructors

Link copied to clipboard
constructor(topic: String, partitions: Int, count: TopicRequirement.Count, purpose: String)

Types

Link copied to clipboard

The counts of partitions a topic may have. Cases may be added in a minor release.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard