public static interface HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder
extends org.apache.camel.builder.EndpointConsumerBuilder
| Modifier and Type | Method and Description |
|---|---|
default HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder |
advanced() |
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder |
backoffErrorThreshold(int backoffErrorThreshold)
The number of subsequent error polls (failed due some error) that
should happen before the backoffMultipler should kick-in.
|
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder |
backoffErrorThreshold(String backoffErrorThreshold)
The number of subsequent error polls (failed due some error) that
should happen before the backoffMultipler should kick-in.
|
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder |
backoffIdleThreshold(int backoffIdleThreshold)
The number of subsequent idle polls that should happen before the
backoffMultipler should kick-in.
|
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder |
backoffIdleThreshold(String backoffIdleThreshold)
The number of subsequent idle polls that should happen before the
backoffMultipler should kick-in.
|
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder |
backoffMultiplier(int backoffMultiplier)
To let the scheduled polling consumer backoff if there has been a
number of subsequent idles/errors in a row.
|
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder |
backoffMultiplier(String backoffMultiplier)
To let the scheduled polling consumer backoff if there has been a
number of subsequent idles/errors in a row.
|
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder |
bridgeErrorHandler(boolean bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler,
which mean any exceptions occurred while the consumer is trying to
pickup incoming messages, or the likes, will now be processed as a
message and handled by the routing Error Handler.
|
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder |
bridgeErrorHandler(String bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler,
which mean any exceptions occurred while the consumer is trying to
pickup incoming messages, or the likes, will now be processed as a
message and handled by the routing Error Handler.
|
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder |
connectOnStartup(boolean connectOnStartup)
Whether to connect to the HDFS file system on starting the
producer/consumer.
|
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder |
connectOnStartup(String connectOnStartup)
Whether to connect to the HDFS file system on starting the
producer/consumer.
|
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder |
delay(long delay)
Milliseconds before the next poll.
|
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder |
delay(String delay)
Milliseconds before the next poll.
|
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder |
fileSystemType(HdfsEndpointBuilderFactory.HdfsFileSystemType fileSystemType)
Set to LOCAL to not use HDFS but local java.io.File instead.
|
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder |
fileSystemType(String fileSystemType)
Set to LOCAL to not use HDFS but local java.io.File instead.
|
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder |
fileType(HdfsEndpointBuilderFactory.HdfsFileType fileType)
The file type to use.
|
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder |
fileType(String fileType)
The file type to use.
|
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder |
greedy(boolean greedy)
If greedy is enabled, then the ScheduledPollConsumer will run
immediately again, if the previous run polled 1 or more messages.
|
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder |
greedy(String greedy)
If greedy is enabled, then the ScheduledPollConsumer will run
immediately again, if the previous run polled 1 or more messages.
|
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder |
initialDelay(long initialDelay)
Milliseconds before the first poll starts.
|
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder |
initialDelay(String initialDelay)
Milliseconds before the first poll starts.
|
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder |
kerberosConfigFileLocation(String kerberosConfigFileLocation)
The location of the kerb5.conf file
(https://web.mit.edu/kerberos/krb5-1.12/doc/admin/conf_files/krb5_conf.html).
|
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder |
kerberosKeytabLocation(String kerberosKeytabLocation)
The location of the keytab file used to authenticate with the
kerberos nodes (contains pairs of kerberos principals and encrypted
keys (which are derived from the Kerberos password)).
|
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder |
kerberosUsername(String kerberosUsername)
The username used to authenticate with the kerberos nodes.
|
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder |
keyType(HdfsEndpointBuilderFactory.WritableType keyType)
The type for the key in case of sequence or map files.
|
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder |
keyType(String keyType)
The type for the key in case of sequence or map files.
|
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder |
maxMessagesPerPoll(int maxMessagesPerPoll)
To define a maximum messages to gather per poll.
|
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder |
maxMessagesPerPoll(String maxMessagesPerPoll)
To define a maximum messages to gather per poll.
|
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder |
namedNodes(String namedNodes)
A comma separated list of named nodes (e.g.
|
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder |
owner(String owner)
The file owner must match this owner for the consumer to pickup the
file.
|
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder |
pattern(String pattern)
The pattern used for scanning the directory.
|
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder |
repeatCount(long repeatCount)
Specifies a maximum limit of number of fires.
|
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder |
repeatCount(String repeatCount)
Specifies a maximum limit of number of fires.
|
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder |
runLoggingLevel(org.apache.camel.LoggingLevel runLoggingLevel)
The consumer logs a start/complete log line when it polls.
|
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder |
runLoggingLevel(String runLoggingLevel)
The consumer logs a start/complete log line when it polls.
|
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder |
scheduledExecutorService(ScheduledExecutorService scheduledExecutorService)
Allows for configuring a custom/shared thread pool to use for the
consumer.
|
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder |
scheduledExecutorService(String scheduledExecutorService)
Allows for configuring a custom/shared thread pool to use for the
consumer.
|
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder |
scheduler(Object scheduler)
To use a cron scheduler from either camel-spring or camel-quartz
component.
|
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder |
scheduler(String scheduler)
To use a cron scheduler from either camel-spring or camel-quartz
component.
|
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder |
schedulerProperties(Map values)
To configure additional properties when using a custom scheduler or
any of the Quartz, Spring based scheduler.
|
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder |
schedulerProperties(String key,
Object value)
To configure additional properties when using a custom scheduler or
any of the Quartz, Spring based scheduler.
|
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder |
sendEmptyMessageWhenIdle(boolean sendEmptyMessageWhenIdle)
If the polling consumer did not poll any files, you can enable this
option to send an empty message (no body) instead.
|
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder |
sendEmptyMessageWhenIdle(String sendEmptyMessageWhenIdle)
If the polling consumer did not poll any files, you can enable this
option to send an empty message (no body) instead.
|
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder |
startScheduler(boolean startScheduler)
Whether the scheduler should be auto started.
|
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder |
startScheduler(String startScheduler)
Whether the scheduler should be auto started.
|
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder |
streamDownload(boolean streamDownload)
Sets the download method to use when not using a local working
directory.
|
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder |
streamDownload(String streamDownload)
Sets the download method to use when not using a local working
directory.
|
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder |
timeUnit(String timeUnit)
Time unit for initialDelay and delay options.
|
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder |
timeUnit(TimeUnit timeUnit)
Time unit for initialDelay and delay options.
|
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder |
useFixedDelay(boolean useFixedDelay)
Controls if fixed delay or fixed rate is used.
|
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder |
useFixedDelay(String useFixedDelay)
Controls if fixed delay or fixed rate is used.
|
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder |
valueType(HdfsEndpointBuilderFactory.WritableType valueType)
The type for the key in case of sequence or map files.
|
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder |
valueType(String valueType)
The type for the key in case of sequence or map files.
|
default HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder advanced()
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder connectOnStartup(boolean connectOnStartup)
connectOnStartup - the value to setdefault HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder connectOnStartup(String connectOnStartup)
connectOnStartup - the value to setdefault HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder fileSystemType(HdfsEndpointBuilderFactory.HdfsFileSystemType fileSystemType)
fileSystemType - the value to setdefault HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder fileSystemType(String fileSystemType)
fileSystemType - the value to setdefault HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder fileType(HdfsEndpointBuilderFactory.HdfsFileType fileType)
fileType - the value to setdefault HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder fileType(String fileType)
fileType - the value to setdefault HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder keyType(HdfsEndpointBuilderFactory.WritableType keyType)
keyType - the value to setdefault HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder keyType(String keyType)
keyType - the value to setdefault HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder namedNodes(String namedNodes)
namedNodes - the value to setdefault HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder owner(String owner)
owner - the value to setdefault HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder valueType(HdfsEndpointBuilderFactory.WritableType valueType)
valueType - the value to setdefault HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder valueType(String valueType)
valueType - the value to setdefault HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
bridgeErrorHandler - the value to setdefault HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder bridgeErrorHandler(String bridgeErrorHandler)
bridgeErrorHandler - the value to setdefault HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder pattern(String pattern)
pattern - the value to setdefault HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder sendEmptyMessageWhenIdle(boolean sendEmptyMessageWhenIdle)
sendEmptyMessageWhenIdle - the value to setdefault HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder sendEmptyMessageWhenIdle(String sendEmptyMessageWhenIdle)
sendEmptyMessageWhenIdle - the value to setdefault HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder streamDownload(boolean streamDownload)
streamDownload - the value to setdefault HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder streamDownload(String streamDownload)
streamDownload - the value to setdefault HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder maxMessagesPerPoll(int maxMessagesPerPoll)
maxMessagesPerPoll - the value to setdefault HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder maxMessagesPerPoll(String maxMessagesPerPoll)
maxMessagesPerPoll - the value to setdefault HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder backoffErrorThreshold(int backoffErrorThreshold)
backoffErrorThreshold - the value to setdefault HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder backoffErrorThreshold(String backoffErrorThreshold)
backoffErrorThreshold - the value to setdefault HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder backoffIdleThreshold(int backoffIdleThreshold)
backoffIdleThreshold - the value to setdefault HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder backoffIdleThreshold(String backoffIdleThreshold)
backoffIdleThreshold - the value to setdefault HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder backoffMultiplier(int backoffMultiplier)
backoffMultiplier - the value to setdefault HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder backoffMultiplier(String backoffMultiplier)
backoffMultiplier - the value to setdefault HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder delay(long delay)
delay - the value to setdefault HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder delay(String delay)
delay - the value to setdefault HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder greedy(boolean greedy)
greedy - the value to setdefault HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder greedy(String greedy)
greedy - the value to setdefault HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder initialDelay(long initialDelay)
initialDelay - the value to setdefault HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder initialDelay(String initialDelay)
initialDelay - the value to setdefault HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder repeatCount(long repeatCount)
repeatCount - the value to setdefault HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder repeatCount(String repeatCount)
repeatCount - the value to setdefault HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder runLoggingLevel(org.apache.camel.LoggingLevel runLoggingLevel)
runLoggingLevel - the value to setdefault HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder runLoggingLevel(String runLoggingLevel)
runLoggingLevel - the value to setdefault HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder scheduledExecutorService(ScheduledExecutorService scheduledExecutorService)
scheduledExecutorService - the value to setdefault HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder scheduledExecutorService(String scheduledExecutorService)
scheduledExecutorService - the value to setdefault HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder scheduler(Object scheduler)
scheduler - the value to setdefault HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder scheduler(String scheduler)
scheduler - the value to setdefault HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder schedulerProperties(String key, Object value)
key - the option keyvalue - the option valuedefault HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder schedulerProperties(Map values)
values - the valuesdefault HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder startScheduler(boolean startScheduler)
startScheduler - the value to setdefault HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder startScheduler(String startScheduler)
startScheduler - the value to setdefault HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder timeUnit(TimeUnit timeUnit)
timeUnit - the value to setdefault HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder timeUnit(String timeUnit)
timeUnit - the value to setdefault HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder useFixedDelay(boolean useFixedDelay)
useFixedDelay - the value to setdefault HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder useFixedDelay(String useFixedDelay)
useFixedDelay - the value to setdefault HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder kerberosConfigFileLocation(String kerberosConfigFileLocation)
kerberosConfigFileLocation - the value to setdefault HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder kerberosKeytabLocation(String kerberosKeytabLocation)
kerberosKeytabLocation - the value to setdefault HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder kerberosUsername(String kerberosUsername)
kerberosUsername - the value to setApache Camel