pub struct IoArgoprojEventsV1alpha1KafkaEventSource {Show 13 fields
pub config: Option<String>,
pub connection_backoff: Option<IoArgoprojEventsV1alpha1Backoff>,
pub consumer_group: Option<IoArgoprojEventsV1alpha1KafkaConsumerGroup>,
pub filter: Option<IoArgoprojEventsV1alpha1EventSourceFilter>,
pub json_body: Option<bool>,
pub limit_events_per_second: Option<String>,
pub metadata: HashMap<String, String>,
pub partition: Option<String>,
pub sasl: Option<IoArgoprojEventsV1alpha1SaslConfig>,
pub tls: Option<IoArgoprojEventsV1alpha1TlsConfig>,
pub topic: Option<String>,
pub url: Option<String>,
pub version: Option<String>,
}Fields§
§config: Option<String>Yaml format Sarama config for Kafka connection. It follows the struct of sarama.Config. See https://github.com/Shopify/sarama/blob/main/config.go e.g.
consumer: fetch: min: 1 net: MaxOpenRequests: 5
+optional
connection_backoff: Option<IoArgoprojEventsV1alpha1Backoff>Backoff holds parameters applied to connection.
consumer_group: Option<IoArgoprojEventsV1alpha1KafkaConsumerGroup>§filter: Option<IoArgoprojEventsV1alpha1EventSourceFilter>§json_body: Option<bool>§limit_events_per_second: Option<String>§metadata: HashMap<String, String>§partition: Option<String>§sasl: Option<IoArgoprojEventsV1alpha1SaslConfig>§tls: Option<IoArgoprojEventsV1alpha1TlsConfig>§topic: Option<String>§url: Option<String>§version: Option<String>Trait Implementations§
Source§impl Clone for IoArgoprojEventsV1alpha1KafkaEventSource
impl Clone for IoArgoprojEventsV1alpha1KafkaEventSource
Source§fn clone(&self) -> IoArgoprojEventsV1alpha1KafkaEventSource
fn clone(&self) -> IoArgoprojEventsV1alpha1KafkaEventSource
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<'de> Deserialize<'de> for IoArgoprojEventsV1alpha1KafkaEventSource
impl<'de> Deserialize<'de> for IoArgoprojEventsV1alpha1KafkaEventSource
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&IoArgoprojEventsV1alpha1KafkaEventSource> for IoArgoprojEventsV1alpha1KafkaEventSource
impl From<&IoArgoprojEventsV1alpha1KafkaEventSource> for IoArgoprojEventsV1alpha1KafkaEventSource
Source§fn from(value: &IoArgoprojEventsV1alpha1KafkaEventSource) -> Self
fn from(value: &IoArgoprojEventsV1alpha1KafkaEventSource) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IoArgoprojEventsV1alpha1KafkaEventSource
impl RefUnwindSafe for IoArgoprojEventsV1alpha1KafkaEventSource
impl Send for IoArgoprojEventsV1alpha1KafkaEventSource
impl Sync for IoArgoprojEventsV1alpha1KafkaEventSource
impl Unpin for IoArgoprojEventsV1alpha1KafkaEventSource
impl UnwindSafe for IoArgoprojEventsV1alpha1KafkaEventSource
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