#[derive(Clone, Copy, Debug, Eq, Hash, Ord, PartialEq, PartialOrd)]
pub enum ClientKind {
Producer,
Consumer,
Admin,
}
#[derive(Clone, Copy, Debug, Eq, Hash, Ord, PartialEq, PartialOrd)]
pub enum ConfigOrigin {
Kafka,
KacrabRuntime,
}
#[non_exhaustive]
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
pub enum ConfigStatus {
Native,
NativeReview,
FeatureGated {
feature: &'static str,
},
Future {
feature: &'static str,
},
SkipJavaOnly,
}
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
pub struct ConfigEntry {
pub client: ClientKind,
pub origin: ConfigOrigin,
pub key: &'static str,
pub rust_field: &'static str,
pub kafka_type: &'static str,
pub default: &'static str,
pub status: ConfigStatus,
pub comment: &'static str,
pub documentation: &'static str,
pub source: &'static str,
pub platforms: &'static [&'static str],
pub feature: Option<&'static str>,
}