public static class KafkaTridentSpoutConfig.Builder<K,V> extends CommonKafkaSpoutConfig.Builder<K,V,KafkaTridentSpoutConfig.Builder<K,V>>
Constructor and Description |
---|
Builder(String bootstrapServers,
Pattern topics) |
Builder(String bootstrapServers,
Set<String> topics) |
Builder(String bootstrapServers,
String... topics) |
Builder(String bootstrapServers,
TopicFilter topicFilter,
ManualPartitioner topicPartitioner) |
Modifier and Type | Method and Description |
---|---|
KafkaTridentSpoutConfig<K,V> |
build() |
getKafkaProps, setFirstPollOffsetStrategy, setPartitionRefreshPeriodMs, setPollTimeoutMs, setProp, setProp, setProp, setRecordTranslator, setRecordTranslator, setRecordTranslator, setStartTimeStamp
public Builder(String bootstrapServers, TopicFilter topicFilter, ManualPartitioner topicPartitioner)
public KafkaTridentSpoutConfig<K,V> build()
build
in class CommonKafkaSpoutConfig.Builder<K,V,KafkaTridentSpoutConfig.Builder<K,V>>
Copyright © 2022 The Apache Software Foundation. All rights reserved.