public static interface HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder
extends org.apache.camel.builder.EndpointConsumerBuilder
| Modifier and Type | Method and Description |
|---|---|
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder |
basic() |
default HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder |
basicPropertyBinding(boolean basicPropertyBinding)
Whether the endpoint should use basic property binding (Camel 2.x) or
the newer property binding with additional capabilities.
|
default HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder |
basicPropertyBinding(String basicPropertyBinding)
Whether the endpoint should use basic property binding (Camel 2.x) or
the newer property binding with additional capabilities.
|
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.AdvancedHdfsEndpointConsumerBuilder |
synchronous(boolean synchronous)
Sets whether synchronous processing should be strictly used, or Camel
is allowed to use asynchronous processing (if supported).
|
default HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder |
synchronous(String synchronous)
Sets whether synchronous processing should be strictly used, or Camel
is allowed to use asynchronous processing (if supported).
|
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder basic()
default HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder exceptionHandler(org.apache.camel.spi.ExceptionHandler exceptionHandler)
org.apache.camel.spi.ExceptionHandler
type.
Group: consumer (advanced)default HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder exceptionHandler(String exceptionHandler)
org.apache.camel.spi.ExceptionHandler type.
Group: consumer (advanced)default HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder exchangePattern(org.apache.camel.ExchangePattern exchangePattern)
org.apache.camel.ExchangePattern type.
Group: consumer (advanced)default HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder exchangePattern(String exchangePattern)
org.apache.camel.ExchangePattern type.
Group: consumer (advanced)default HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder pollStrategy(org.apache.camel.spi.PollingConsumerPollStrategy pollStrategy)
org.apache.camel.spi.PollingConsumerPollStrategy type.
Group: consumer (advanced)default HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder pollStrategy(String pollStrategy)
org.apache.camel.spi.PollingConsumerPollStrategy type.
Group: consumer (advanced)default HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder basicPropertyBinding(boolean basicPropertyBinding)
boolean type.
Default: false
Group: advanceddefault HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder basicPropertyBinding(String basicPropertyBinding)
boolean type.
Default: false
Group: advanceddefault HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder blockSize(long blockSize)
long type.
Default: 67108864
Group: advanceddefault HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder blockSize(String blockSize)
long type.
Default: 67108864
Group: advanceddefault HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder bufferSize(int bufferSize)
int type.
Default: 4096
Group: advanceddefault HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder bufferSize(String bufferSize)
int type.
Default: 4096
Group: advanceddefault HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder checkIdleInterval(int checkIdleInterval)
int type.
Default: 500
Group: advanceddefault HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder checkIdleInterval(String checkIdleInterval)
int type.
Default: 500
Group: advanceddefault HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder chunkSize(int chunkSize)
int type.
Default: 4096
Group: advanceddefault HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder chunkSize(String chunkSize)
int type.
Default: 4096
Group: advanceddefault HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder compressionCodec(HdfsEndpointBuilderFactory.HdfsCompressionCodec compressionCodec)
org.apache.camel.component.hdfs.HdfsCompressionCodec
type.
Default: DEFAULT
Group: advanceddefault HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder compressionCodec(String compressionCodec)
org.apache.camel.component.hdfs.HdfsCompressionCodec
type.
Default: DEFAULT
Group: advanceddefault HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder compressionType(HdfsEndpointBuilderFactory.CompressionType compressionType)
org.apache.hadoop.io.SequenceFile$CompressionType type.
Default: NONE
Group: advanceddefault HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder compressionType(String compressionType)
org.apache.hadoop.io.SequenceFile$CompressionType type.
Default: NONE
Group: advanceddefault HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder openedSuffix(String openedSuffix)
java.lang.String type.
Default: opened
Group: advanceddefault HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder readSuffix(String readSuffix)
java.lang.String type.
Default: read
Group: advanceddefault HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder replication(short replication)
short type.
Default: 3
Group: advanceddefault HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder replication(String replication)
short type.
Default: 3
Group: advanceddefault HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder splitStrategy(String splitStrategy)
java.lang.String type.
Group: advanceddefault HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder synchronous(boolean synchronous)
boolean type.
Default: false
Group: advanceddefault HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder synchronous(String synchronous)
boolean type.
Default: false
Group: advancedApache Camel