Skip to main content

ApiVersionsResponseV5

Type Alias ApiVersionsResponseV5 

Source
pub type ApiVersionsResponseV5 = ApiVersionsResponseV3;
Expand description

ApiVersions v5 response. The body schema is identical to v4.

Aliased Type§

pub struct ApiVersionsResponseV5 {
    pub error_code: i16,
    pub api_keys: Vec<ApiKeyVersion>,
    pub throttle_time_ms: i32,
    pub supported_features: Vec<SupportedFeature>,
    pub finalized_features_epoch: i64,
    pub finalized_features: Vec<FinalizedFeature>,
    pub zk_migration_ready: bool,
    pub tagged_fields: Vec<TaggedField>,
}

Fields§

§error_code: i16

Top-level Kafka error code.

§api_keys: Vec<ApiKeyVersion>

API version ranges advertised by the broker.

§throttle_time_ms: i32

Broker throttle duration in milliseconds.

§supported_features: Vec<SupportedFeature>

Feature ranges supported by the broker.

§finalized_features_epoch: i64

Monotonically increasing finalized-feature metadata epoch, or -1 if unknown.

§finalized_features: Vec<FinalizedFeature>

Cluster-wide finalized feature ranges when the epoch is known.

§zk_migration_ready: bool

Whether the broker reports that ZooKeeper migration is ready.

§tagged_fields: Vec<TaggedField>

Unknown or future top-level tagged fields preserved for inspection.