Interface HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointConsumerBuilder
,org.apache.camel.EndpointConsumerResolver
- All Known Subinterfaces:
HdfsEndpointBuilderFactory.HdfsEndpointBuilder
- Enclosing interface:
- HdfsEndpointBuilderFactory
public static interface HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder extends org.apache.camel.builder.EndpointConsumerBuilder
Builder for endpoint consumers for the HDFS component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method 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
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(String fileSystemType)
Set to LOCAL to not use HDFS but local java.io.File instead.default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder
fileSystemType(org.apache.camel.component.hdfs.HdfsFileSystemType fileSystemType)
Set to LOCAL to not use HDFS but local java.io.File instead.default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder
fileType(String fileType)
The file type to use.default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder
fileType(org.apache.camel.component.hdfs.HdfsFileType 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(String keyType)
The type for the key in case of sequence or map files.default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder
keyType(org.apache.camel.component.hdfs.WritableType 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(String runLoggingLevel)
The consumer logs a start/complete log line when it polls.default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder
runLoggingLevel(org.apache.camel.LoggingLevel runLoggingLevel)
The consumer logs a start/complete log line when it polls.default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder
scheduledExecutorService(String scheduledExecutorService)
Allows for configuring a custom/shared thread pool to use for the consumer.default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder
scheduledExecutorService(ScheduledExecutorService 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(String key, Object value)
To configure additional properties when using a custom scheduler or any of the Quartz, Spring based scheduler.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
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(String valueType)
The type for the key in case of sequence or map files.default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder
valueType(org.apache.camel.component.hdfs.WritableType valueType)
The type for the key in case of sequence or map files.
-
-
-
Method Detail
-
advanced
default HdfsEndpointBuilderFactory.AdvancedHdfsEndpointConsumerBuilder advanced()
-
connectOnStartup
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder connectOnStartup(boolean connectOnStartup)
Whether to connect to the HDFS file system on starting the producer/consumer. If false then the connection is created on-demand. Notice that HDFS may take up till 15 minutes to establish a connection, as it has hardcoded 45 x 20 sec redelivery. By setting this option to false allows your application to startup, and not block for up till 15 minutes. The option is a: <code>boolean</code> type. Default: true Group: common- Parameters:
connectOnStartup
- the value to set- Returns:
- the dsl builder
-
connectOnStartup
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder connectOnStartup(String connectOnStartup)
Whether to connect to the HDFS file system on starting the producer/consumer. If false then the connection is created on-demand. Notice that HDFS may take up till 15 minutes to establish a connection, as it has hardcoded 45 x 20 sec redelivery. By setting this option to false allows your application to startup, and not block for up till 15 minutes. The option will be converted to a <code>boolean</code> type. Default: true Group: common- Parameters:
connectOnStartup
- the value to set- Returns:
- the dsl builder
-
fileSystemType
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder fileSystemType(org.apache.camel.component.hdfs.HdfsFileSystemType fileSystemType)
Set to LOCAL to not use HDFS but local java.io.File instead. The option is a: <code>org.apache.camel.component.hdfs.HdfsFileSystemType</code> type. Default: HDFS Group: common- Parameters:
fileSystemType
- the value to set- Returns:
- the dsl builder
-
fileSystemType
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder fileSystemType(String fileSystemType)
Set to LOCAL to not use HDFS but local java.io.File instead. The option will be converted to a <code>org.apache.camel.component.hdfs.HdfsFileSystemType</code> type. Default: HDFS Group: common- Parameters:
fileSystemType
- the value to set- Returns:
- the dsl builder
-
fileType
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder fileType(org.apache.camel.component.hdfs.HdfsFileType fileType)
The file type to use. For more details see Hadoop HDFS documentation about the various files types. The option is a: <code>org.apache.camel.component.hdfs.HdfsFileType</code> type. Default: NORMAL_FILE Group: common- Parameters:
fileType
- the value to set- Returns:
- the dsl builder
-
fileType
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder fileType(String fileType)
The file type to use. For more details see Hadoop HDFS documentation about the various files types. The option will be converted to a <code>org.apache.camel.component.hdfs.HdfsFileType</code> type. Default: NORMAL_FILE Group: common- Parameters:
fileType
- the value to set- Returns:
- the dsl builder
-
keyType
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder keyType(org.apache.camel.component.hdfs.WritableType keyType)
The type for the key in case of sequence or map files. The option is a: <code>org.apache.camel.component.hdfs.WritableType</code> type. Default: NULL Group: common- Parameters:
keyType
- the value to set- Returns:
- the dsl builder
-
keyType
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder keyType(String keyType)
The type for the key in case of sequence or map files. The option will be converted to a <code>org.apache.camel.component.hdfs.WritableType</code> type. Default: NULL Group: common- Parameters:
keyType
- the value to set- Returns:
- the dsl builder
-
namedNodes
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder namedNodes(String namedNodes)
A comma separated list of named nodes (e.g. srv11.example.com:8020,srv12.example.com:8020). The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
namedNodes
- the value to set- Returns:
- the dsl builder
-
owner
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder owner(String owner)
The file owner must match this owner for the consumer to pickup the file. Otherwise the file is skipped. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
owner
- the value to set- Returns:
- the dsl builder
-
valueType
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder valueType(org.apache.camel.component.hdfs.WritableType valueType)
The type for the key in case of sequence or map files. The option is a: <code>org.apache.camel.component.hdfs.WritableType</code> type. Default: BYTES Group: common- Parameters:
valueType
- the value to set- Returns:
- the dsl builder
-
valueType
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder valueType(String valueType)
The type for the key in case of sequence or map files. The option will be converted to a <code>org.apache.camel.component.hdfs.WritableType</code> type. Default: BYTES Group: common- Parameters:
valueType
- the value to set- Returns:
- the dsl builder
-
pattern
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder pattern(String pattern)
The pattern used for scanning the directory. The option is a: <code>java.lang.String</code> type. Default: * Group: consumer- Parameters:
pattern
- the value to set- Returns:
- the dsl builder
-
sendEmptyMessageWhenIdle
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. The option is a: <code>boolean</code> type. Default: false Group: consumer- Parameters:
sendEmptyMessageWhenIdle
- the value to set- Returns:
- the dsl builder
-
sendEmptyMessageWhenIdle
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. The option will be converted to a <code>boolean</code> type. Default: false Group: consumer- Parameters:
sendEmptyMessageWhenIdle
- the value to set- Returns:
- the dsl builder
-
streamDownload
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder streamDownload(boolean streamDownload)
Sets the download method to use when not using a local working directory. If set to true, the remote files are streamed to the route as they are read. When set to false, the remote files are loaded into memory before being sent into the route. The option is a: <code>boolean</code> type. Default: false Group: consumer- Parameters:
streamDownload
- the value to set- Returns:
- the dsl builder
-
streamDownload
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder streamDownload(String streamDownload)
Sets the download method to use when not using a local working directory. If set to true, the remote files are streamed to the route as they are read. When set to false, the remote files are loaded into memory before being sent into the route. The option will be converted to a <code>boolean</code> type. Default: false Group: consumer- Parameters:
streamDownload
- the value to set- Returns:
- the dsl builder
-
maxMessagesPerPoll
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder maxMessagesPerPoll(int maxMessagesPerPoll)
To define a maximum messages to gather per poll. By default a limit of 100 is set. Can be used to set a limit of e.g. 1000 to avoid when starting up the server that there are thousands of files. Values can only be greater than 0. Notice: If this option is in use then the limit will be applied on the valid files. For example if you have 100000 files and use maxMessagesPerPoll=500, then only the first 500 files will be picked up. The option is a: <code>int</code> type. Default: 100 Group: filter- Parameters:
maxMessagesPerPoll
- the value to set- Returns:
- the dsl builder
-
maxMessagesPerPoll
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder maxMessagesPerPoll(String maxMessagesPerPoll)
To define a maximum messages to gather per poll. By default a limit of 100 is set. Can be used to set a limit of e.g. 1000 to avoid when starting up the server that there are thousands of files. Values can only be greater than 0. Notice: If this option is in use then the limit will be applied on the valid files. For example if you have 100000 files and use maxMessagesPerPoll=500, then only the first 500 files will be picked up. The option will be converted to a <code>int</code> type. Default: 100 Group: filter- Parameters:
maxMessagesPerPoll
- the value to set- Returns:
- the dsl builder
-
backoffErrorThreshold
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. The option is a: <code>int</code> type. Group: scheduler- Parameters:
backoffErrorThreshold
- the value to set- Returns:
- the dsl builder
-
backoffErrorThreshold
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. The option will be converted to a <code>int</code> type. Group: scheduler- Parameters:
backoffErrorThreshold
- the value to set- Returns:
- the dsl builder
-
backoffIdleThreshold
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder backoffIdleThreshold(int backoffIdleThreshold)
The number of subsequent idle polls that should happen before the backoffMultipler should kick-in. The option is a: <code>int</code> type. Group: scheduler- Parameters:
backoffIdleThreshold
- the value to set- Returns:
- the dsl builder
-
backoffIdleThreshold
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder backoffIdleThreshold(String backoffIdleThreshold)
The number of subsequent idle polls that should happen before the backoffMultipler should kick-in. The option will be converted to a <code>int</code> type. Group: scheduler- Parameters:
backoffIdleThreshold
- the value to set- Returns:
- the dsl builder
-
backoffMultiplier
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. The multiplier is then the number of polls that will be skipped before the next actual attempt is happening again. When this option is in use then backoffIdleThreshold and/or backoffErrorThreshold must also be configured. The option is a: <code>int</code> type. Group: scheduler- Parameters:
backoffMultiplier
- the value to set- Returns:
- the dsl builder
-
backoffMultiplier
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. The multiplier is then the number of polls that will be skipped before the next actual attempt is happening again. When this option is in use then backoffIdleThreshold and/or backoffErrorThreshold must also be configured. The option will be converted to a <code>int</code> type. Group: scheduler- Parameters:
backoffMultiplier
- the value to set- Returns:
- the dsl builder
-
delay
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder delay(long delay)
Milliseconds before the next poll. The option is a: <code>long</code> type. Default: 500 Group: scheduler- Parameters:
delay
- the value to set- Returns:
- the dsl builder
-
delay
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder delay(String delay)
Milliseconds before the next poll. The option will be converted to a <code>long</code> type. Default: 500 Group: scheduler- Parameters:
delay
- the value to set- Returns:
- the dsl builder
-
greedy
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. The option is a: <code>boolean</code> type. Default: false Group: scheduler- Parameters:
greedy
- the value to set- Returns:
- the dsl builder
-
greedy
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. The option will be converted to a <code>boolean</code> type. Default: false Group: scheduler- Parameters:
greedy
- the value to set- Returns:
- the dsl builder
-
initialDelay
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder initialDelay(long initialDelay)
Milliseconds before the first poll starts. The option is a: <code>long</code> type. Default: 1000 Group: scheduler- Parameters:
initialDelay
- the value to set- Returns:
- the dsl builder
-
initialDelay
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder initialDelay(String initialDelay)
Milliseconds before the first poll starts. The option will be converted to a <code>long</code> type. Default: 1000 Group: scheduler- Parameters:
initialDelay
- the value to set- Returns:
- the dsl builder
-
repeatCount
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder repeatCount(long repeatCount)
Specifies a maximum limit of number of fires. So if you set it to 1, the scheduler will only fire once. If you set it to 5, it will only fire five times. A value of zero or negative means fire forever. The option is a: <code>long</code> type. Default: 0 Group: scheduler- Parameters:
repeatCount
- the value to set- Returns:
- the dsl builder
-
repeatCount
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder repeatCount(String repeatCount)
Specifies a maximum limit of number of fires. So if you set it to 1, the scheduler will only fire once. If you set it to 5, it will only fire five times. A value of zero or negative means fire forever. The option will be converted to a <code>long</code> type. Default: 0 Group: scheduler- Parameters:
repeatCount
- the value to set- Returns:
- the dsl builder
-
runLoggingLevel
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder runLoggingLevel(org.apache.camel.LoggingLevel runLoggingLevel)
The consumer logs a start/complete log line when it polls. This option allows you to configure the logging level for that. The option is a: <code>org.apache.camel.LoggingLevel</code> type. Default: TRACE Group: scheduler- Parameters:
runLoggingLevel
- the value to set- Returns:
- the dsl builder
-
runLoggingLevel
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder runLoggingLevel(String runLoggingLevel)
The consumer logs a start/complete log line when it polls. This option allows you to configure the logging level for that. The option will be converted to a <code>org.apache.camel.LoggingLevel</code> type. Default: TRACE Group: scheduler- Parameters:
runLoggingLevel
- the value to set- Returns:
- the dsl builder
-
scheduledExecutorService
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder scheduledExecutorService(ScheduledExecutorService scheduledExecutorService)
Allows for configuring a custom/shared thread pool to use for the consumer. By default each consumer has its own single threaded thread pool. The option is a: <code>java.util.concurrent.ScheduledExecutorService</code> type. Group: scheduler- Parameters:
scheduledExecutorService
- the value to set- Returns:
- the dsl builder
-
scheduledExecutorService
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder scheduledExecutorService(String scheduledExecutorService)
Allows for configuring a custom/shared thread pool to use for the consumer. By default each consumer has its own single threaded thread pool. The option will be converted to a <code>java.util.concurrent.ScheduledExecutorService</code> type. Group: scheduler- Parameters:
scheduledExecutorService
- the value to set- Returns:
- the dsl builder
-
scheduler
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder scheduler(Object scheduler)
To use a cron scheduler from either camel-spring or camel-quartz component. Use value spring or quartz for built in scheduler. The option is a: <code>java.lang.Object</code> type. Default: none Group: scheduler- Parameters:
scheduler
- the value to set- Returns:
- the dsl builder
-
scheduler
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder scheduler(String scheduler)
To use a cron scheduler from either camel-spring or camel-quartz component. Use value spring or quartz for built in scheduler. The option will be converted to a <code>java.lang.Object</code> type. Default: none Group: scheduler- Parameters:
scheduler
- the value to set- Returns:
- the dsl builder
-
schedulerProperties
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. The option is a: <code>java.util.Map<java.lang.String, java.lang.Object></code> type. The option is multivalued, and you can use the schedulerProperties(String, Object) method to add a value (call the method multiple times to set more values). Group: scheduler- Parameters:
key
- the option keyvalue
- the option value- Returns:
- the dsl builder
-
schedulerProperties
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder schedulerProperties(Map values)
To configure additional properties when using a custom scheduler or any of the Quartz, Spring based scheduler. The option is a: <code>java.util.Map<java.lang.String, java.lang.Object></code> type. The option is multivalued, and you can use the schedulerProperties(String, Object) method to add a value (call the method multiple times to set more values). Group: scheduler- Parameters:
values
- the values- Returns:
- the dsl builder
-
startScheduler
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder startScheduler(boolean startScheduler)
Whether the scheduler should be auto started. The option is a: <code>boolean</code> type. Default: true Group: scheduler- Parameters:
startScheduler
- the value to set- Returns:
- the dsl builder
-
startScheduler
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder startScheduler(String startScheduler)
Whether the scheduler should be auto started. The option will be converted to a <code>boolean</code> type. Default: true Group: scheduler- Parameters:
startScheduler
- the value to set- Returns:
- the dsl builder
-
timeUnit
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder timeUnit(TimeUnit timeUnit)
Time unit for initialDelay and delay options. The option is a: <code>java.util.concurrent.TimeUnit</code> type. Default: MILLISECONDS Group: scheduler- Parameters:
timeUnit
- the value to set- Returns:
- the dsl builder
-
timeUnit
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder timeUnit(String timeUnit)
Time unit for initialDelay and delay options. The option will be converted to a <code>java.util.concurrent.TimeUnit</code> type. Default: MILLISECONDS Group: scheduler- Parameters:
timeUnit
- the value to set- Returns:
- the dsl builder
-
useFixedDelay
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder useFixedDelay(boolean useFixedDelay)
Controls if fixed delay or fixed rate is used. See ScheduledExecutorService in JDK for details. The option is a: <code>boolean</code> type. Default: true Group: scheduler- Parameters:
useFixedDelay
- the value to set- Returns:
- the dsl builder
-
useFixedDelay
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder useFixedDelay(String useFixedDelay)
Controls if fixed delay or fixed rate is used. See ScheduledExecutorService in JDK for details. The option will be converted to a <code>boolean</code> type. Default: true Group: scheduler- Parameters:
useFixedDelay
- the value to set- Returns:
- the dsl builder
-
kerberosConfigFileLocation
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). The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
kerberosConfigFileLocation
- the value to set- Returns:
- the dsl builder
-
kerberosKeytabLocation
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)). The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
kerberosKeytabLocation
- the value to set- Returns:
- the dsl builder
-
kerberosUsername
default HdfsEndpointBuilderFactory.HdfsEndpointConsumerBuilder kerberosUsername(String kerberosUsername)
The username used to authenticate with the kerberos nodes. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
kerberosUsername
- the value to set- Returns:
- the dsl builder
-
-