public static interface HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder
extends org.apache.camel.builder.EndpointConsumerBuilder
| Modifier and Type | Method and Description |
|---|---|
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder |
basic() |
default HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder |
blockSize(long blockSize)
The size of the HDFS blocks.
|
default HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder |
blockSize(String blockSize)
The size of the HDFS blocks.
|
default HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder |
bufferSize(int bufferSize)
The buffer size used by HDFS.
|
default HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder |
bufferSize(String bufferSize)
The buffer size used by HDFS.
|
default HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder |
checkIdleInterval(int checkIdleInterval)
How often (time in millis) in to run the idle checker background
task.
|
default HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder |
checkIdleInterval(String checkIdleInterval)
How often (time in millis) in to run the idle checker background
task.
|
default HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder |
chunkSize(int chunkSize)
When reading a normal file, this is split into chunks producing a
message per chunk.
|
default HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder |
chunkSize(String chunkSize)
When reading a normal file, this is split into chunks producing a
message per chunk.
|
default HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder |
compressionCodec(HdfsEndpointBuilderFactory.HdfsCompressionCodec compressionCodec)
The compression codec to use.
|
default HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder |
compressionCodec(String compressionCodec)
The compression codec to use.
|
default HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder |
compressionType(HdfsEndpointBuilderFactory.CompressionType compressionType)
The compression type to use (is default not in use).
|
default HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder |
compressionType(String compressionType)
The compression type to use (is default not in use).
|
default HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder |
exceptionHandler(org.apache.camel.spi.ExceptionHandler exceptionHandler)
To let the consumer use a custom ExceptionHandler.
|
default HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder |
exceptionHandler(String exceptionHandler)
To let the consumer use a custom ExceptionHandler.
|
default HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder |
exchangePattern(org.apache.camel.ExchangePattern exchangePattern)
Sets the exchange pattern when the consumer creates an exchange.
|
default HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder |
exchangePattern(String exchangePattern)
Sets the exchange pattern when the consumer creates an exchange.
|
default HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder |
openedSuffix(String openedSuffix)
When a file is opened for reading/writing the file is renamed with
this suffix to avoid to read it during the writing phase.
|
default HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder |
pollStrategy(org.apache.camel.spi.PollingConsumerPollStrategy pollStrategy)
A pluggable org.apache.camel.PollingConsumerPollingStrategy allowing
you to provide your custom implementation to control error handling
usually occurred during the poll operation before an Exchange have
been created and being routed in Camel.
|
default HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder |
pollStrategy(String pollStrategy)
A pluggable org.apache.camel.PollingConsumerPollingStrategy allowing
you to provide your custom implementation to control error handling
usually occurred during the poll operation before an Exchange have
been created and being routed in Camel.
|
default HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder |
readSuffix(String readSuffix)
Once the file has been read is renamed with this suffix to avoid to
read it again.
|
default HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder |
replication(short replication)
The HDFS replication factor.
|
default HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder |
replication(String replication)
The HDFS replication factor.
|
default HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder |
splitStrategy(String splitStrategy)
In the current version of Hadoop opening a file in append mode is
disabled since it's not very reliable.
|
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder basic()
default HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder exceptionHandler(org.apache.camel.spi.ExceptionHandler exceptionHandler)
exceptionHandler - the value to setdefault HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder exceptionHandler(String exceptionHandler)
exceptionHandler - the value to setdefault HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder exchangePattern(org.apache.camel.ExchangePattern exchangePattern)
exchangePattern - the value to setdefault HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder exchangePattern(String exchangePattern)
exchangePattern - the value to setdefault HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder pollStrategy(org.apache.camel.spi.PollingConsumerPollStrategy pollStrategy)
pollStrategy - the value to setdefault HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder pollStrategy(String pollStrategy)
pollStrategy - the value to setdefault HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder blockSize(long blockSize)
blockSize - the value to setdefault HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder blockSize(String blockSize)
blockSize - the value to setdefault HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder bufferSize(int bufferSize)
bufferSize - the value to setdefault HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder bufferSize(String bufferSize)
bufferSize - the value to setdefault HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder checkIdleInterval(int checkIdleInterval)
checkIdleInterval - the value to setdefault HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder checkIdleInterval(String checkIdleInterval)
checkIdleInterval - the value to setdefault HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder chunkSize(int chunkSize)
chunkSize - the value to setdefault HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder chunkSize(String chunkSize)
chunkSize - the value to setdefault HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder compressionCodec(HdfsEndpointBuilderFactory.HdfsCompressionCodec compressionCodec)
compressionCodec - the value to setdefault HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder compressionCodec(String compressionCodec)
compressionCodec - the value to setdefault HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder compressionType(HdfsEndpointBuilderFactory.CompressionType compressionType)
compressionType - the value to setdefault HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder compressionType(String compressionType)
compressionType - the value to setdefault HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder openedSuffix(String openedSuffix)
openedSuffix - the value to setdefault HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder readSuffix(String readSuffix)
readSuffix - the value to setdefault HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder replication(short replication)
replication - the value to setdefault HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder replication(String replication)
replication - the value to setdefault HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder splitStrategy(String splitStrategy)
splitStrategy - the value to setApache Camel