Uses of Class
org.voltdb.stream.api.kafka.KafkaStreamSourceConfigurator
-
Uses of KafkaStreamSourceConfigurator in org.voltdb.stream.api
-
Uses of KafkaStreamSourceConfigurator in org.voltdb.stream.api.kafka
Modifier and TypeMethodDescriptionKafkaStreamSourceConfigurator.aConsumer()
configures the configurator using custom config path.KafkaStreamSourceConfigurator.withBootstrapServers
(String bootstrapServers) KafkaStreamSourceConfigurator.withExceptionHandler
(KafkaSourceExceptionHandler exceptionHandler) KafkaStreamSourceConfigurator.withGroupId
(String groupId) <KEY> KafkaStreamSourceConfigurator
<KEY, V> KafkaStreamSourceConfigurator.withKeyDeserializer
(Class<? extends org.apache.kafka.common.serialization.Deserializer<KEY>> deserializerClass) KafkaStreamSourceConfigurator.withMaxCommitRetries
(int retries) KafkaSource will try to commit an offset and will retry this operation blocking its worker thread, but not more than this retry value.KafkaStreamSourceConfigurator.withMaxCommitTimeout
(Duration timeout) KafkaSource will try to commit an offset and will retry this operation blocking its worker thread, but not longer than this timeout value.KafkaStreamSourceConfigurator.withPollTimeout
(Duration pollTimeout) Defines timeout for consumer's poll call, default is 10 seconds.KafkaStreamSourceConfigurator.withProperty
(String key, boolean value) KafkaStreamSourceConfigurator.withProperty
(String key, int value) KafkaStreamSourceConfigurator.withProperty
(String key, long value) KafkaStreamSourceConfigurator.withProperty
(String key, String value) KafkaStreamSourceConfigurator.withSchemaRegistryUrl
(String schemaUrl) KafkaStreamSourceConfigurator.withSSL
(KafkaStreamSslConfiguration sslConfigurator) KafkaStreamSourceConfigurator.withStartingOffset
(KafkaStartingOffset startingOffsets) KafkaStreamSourceConfigurator.withTopicNames
(String topicNames) Define topics names used by this kafka source<VALUE> KafkaStreamSourceConfigurator
<K, VALUE> KafkaStreamSourceConfigurator.withValueDeserializer
(Class<? extends org.apache.kafka.common.serialization.Deserializer<?>> deserializerClass, Class<VALUE> deserializedType) <VALUE> KafkaStreamSourceConfigurator
<K, VALUE> KafkaStreamSourceConfigurator.withValueDeserializer
(Class<? extends org.apache.kafka.common.serialization.Deserializer<VALUE>> deserializerClass)