Struct aws_sdk_glue::model::KafkaStreamingSourceOptions  
source · [−]#[non_exhaustive]pub struct KafkaStreamingSourceOptions { /* private fields */ }Expand description
Additional options for streaming.
Implementations
sourceimpl KafkaStreamingSourceOptions
 
impl KafkaStreamingSourceOptions
sourcepub fn bootstrap_servers(&self) -> Option<&str>
 
pub fn bootstrap_servers(&self) -> Option<&str>
A list of bootstrap server URLs, for example, as b-1.vpc-test-2.o4q88o.c6.kafka.us-east-1.amazonaws.com:9094. This option must be specified in the API call or defined in the table metadata in the Data Catalog.
sourcepub fn security_protocol(&self) -> Option<&str>
 
pub fn security_protocol(&self) -> Option<&str>
The protocol used to communicate with brokers. The possible values are "SSL" or "PLAINTEXT".
sourcepub fn connection_name(&self) -> Option<&str>
 
pub fn connection_name(&self) -> Option<&str>
The name of the connection.
sourcepub fn topic_name(&self) -> Option<&str>
 
pub fn topic_name(&self) -> Option<&str>
The topic name as specified in Apache Kafka. You must specify at least one of "topicName", "assign" or "subscribePattern".
sourcepub fn assign(&self) -> Option<&str>
 
pub fn assign(&self) -> Option<&str>
The specific TopicPartitions to consume. You must specify at least one of "topicName", "assign" or "subscribePattern".
sourcepub fn subscribe_pattern(&self) -> Option<&str>
 
pub fn subscribe_pattern(&self) -> Option<&str>
A Java regex string that identifies the topic list to subscribe to. You must specify at least one of "topicName", "assign" or "subscribePattern".
sourcepub fn classification(&self) -> Option<&str>
 
pub fn classification(&self) -> Option<&str>
An optional classification.
sourcepub fn starting_offsets(&self) -> Option<&str>
 
pub fn starting_offsets(&self) -> Option<&str>
The starting position in the Kafka topic to read data from. The possible values are "earliest" or "latest". The default value is "latest".
sourcepub fn ending_offsets(&self) -> Option<&str>
 
pub fn ending_offsets(&self) -> Option<&str>
The end point when a batch query is ended. Possible values are either "latest" or a JSON string that specifies an ending offset for each TopicPartition.
sourcepub fn poll_timeout_ms(&self) -> Option<i64>
 
pub fn poll_timeout_ms(&self) -> Option<i64>
The timeout in milliseconds to poll data from Kafka in Spark job executors. The default value is 512.
sourcepub fn num_retries(&self) -> Option<i32>
 
pub fn num_retries(&self) -> Option<i32>
The number of times to retry before failing to fetch Kafka offsets. The default value is 3.
sourcepub fn retry_interval_ms(&self) -> Option<i64>
 
pub fn retry_interval_ms(&self) -> Option<i64>
The time in milliseconds to wait before retrying to fetch Kafka offsets. The default value is 10.
sourcepub fn max_offsets_per_trigger(&self) -> Option<i64>
 
pub fn max_offsets_per_trigger(&self) -> Option<i64>
The rate limit on the maximum number of offsets that are processed per trigger interval. The specified total number of offsets is proportionally split across topicPartitions of different volumes. The default value is null, which means that the consumer reads all offsets until the known latest offset.
sourcepub fn min_partitions(&self) -> Option<i32>
 
pub fn min_partitions(&self) -> Option<i32>
The desired minimum number of partitions to read from Kafka. The default value is null, which means that the number of spark partitions is equal to the number of Kafka partitions.
sourceimpl KafkaStreamingSourceOptions
 
impl KafkaStreamingSourceOptions
sourcepub fn builder() -> Builder
 
pub fn builder() -> Builder
Creates a new builder-style object to manufacture KafkaStreamingSourceOptions.
Trait Implementations
sourceimpl Clone for KafkaStreamingSourceOptions
 
impl Clone for KafkaStreamingSourceOptions
sourcefn clone(&self) -> KafkaStreamingSourceOptions
 
fn clone(&self) -> KafkaStreamingSourceOptions
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
source. Read more