Package | Description |
---|---|
org.apache.storm.flux.examples | |
org.apache.storm.kafka.spout | |
org.apache.storm.kafka.spout.internal | |
org.apache.storm.sql.kafka |
Modifier and Type | Class and Description |
---|---|
class |
OnlyValueRecordTranslator<K,V> |
Modifier and Type | Class and Description |
---|---|
class |
ByTopicRecordTranslator<K,V>
Based off of a given Kafka topic a ConsumerRecord came from it will be translated to a Storm tuple and emitted to a given stream.
|
class |
DefaultRecordTranslator<K,V> |
class |
SimpleRecordTranslator<K,V> |
Modifier and Type | Method and Description |
---|---|
ByTopicRecordTranslator<K,V> |
ByTopicRecordTranslator.forTopic(String topic,
RecordTranslator<K,V> translator)
Configure a translator for a given kafka topic.
|
Constructor and Description |
---|
ByTopicRecordTranslator(RecordTranslator<K,V> defaultTranslator)
Create a record translator with the given default translator.
|
Modifier and Type | Method and Description |
---|---|
RecordTranslator<K,V> |
CommonKafkaSpoutConfig.getTranslator() |
Modifier and Type | Method and Description |
---|---|
T |
CommonKafkaSpoutConfig.Builder.setRecordTranslator(RecordTranslator<K,V> translator) |
Modifier and Type | Class and Description |
---|---|
class |
RecordTranslatorSchemeAdapter
RecordTranslator that delegates to a Scheme.
|
Copyright © 2022 The Apache Software Foundation. All rights reserved.