#[non_exhaustive]pub enum ConfigSource {
DynamicTopicConfig,
DynamicBrokerLoggerConfig,
DynamicBrokerConfig,
DynamicDefaultBrokerConfig,
DynamicClientMetricsConfig,
DynamicGroupConfig,
StaticBrokerConfig,
DefaultConfig,
Unknown,
}Expand description
Source of configuration entries.
Corresponds to ConfigEntry.ConfigSource.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
DynamicTopicConfig
Dynamic topic config that is configured for a specific topic.
DynamicBrokerLoggerConfig
Dynamic broker logger config that is configured for a specific broker.
DynamicBrokerConfig
Dynamic broker config that is configured for a specific broker.
DynamicDefaultBrokerConfig
Dynamic broker config that is configured as default for all brokers in the cluster.
DynamicClientMetricsConfig
Dynamic client metrics subscription config that is configured for all clients.
DynamicGroupConfig
Dynamic group config that is configured for a specific group.
StaticBrokerConfig
Static broker config provided as broker properties at start up (e.g.
server.properties file).
DefaultConfig
Built-in default configuration for configs that have a default value.
Unknown
Source unknown, e.g. in the ConfigEntry used for alter requests where
source is not set.
Trait Implementations§
Source§impl Clone for ConfigSource
impl Clone for ConfigSource
Source§fn clone(&self) -> ConfigSource
fn clone(&self) -> ConfigSource
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ConfigSource
impl Debug for ConfigSource
Source§impl Hash for ConfigSource
impl Hash for ConfigSource
Source§impl PartialEq for ConfigSource
impl PartialEq for ConfigSource
impl Copy for ConfigSource
impl Eq for ConfigSource
impl StructuralPartialEq for ConfigSource
Auto Trait Implementations§
impl Freeze for ConfigSource
impl RefUnwindSafe for ConfigSource
impl Send for ConfigSource
impl Sync for ConfigSource
impl Unpin for ConfigSource
impl UnsafeUnpin for ConfigSource
impl UnwindSafe for ConfigSource
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more