blob: f47faa00d76d6e4d86b5d3fdf4bbfbaaa4b86d6d [file] [log] [blame]
// kafka-connector options: START
[[camel-robotframework-kafka-connector-source]]
= camel-robotframework-kafka-connector source configuration
When using camel-robotframework-kafka-connector as source make sure to use the following Maven dependency to have support for the connector:
[source,xml]
----
<dependency>
<groupId>org.apache.camel.kafkaconnector</groupId>
<artifactId>camel-robotframework-kafka-connector</artifactId>
<version>x.x.x</version>
<!-- use the same version as your Camel Kafka connector version -->
</dependency>
----
The camel-robotframework source connector supports 71 options, which are listed below.
[width="100%",cols="2,5,^1,2",options="header"]
|===
| Name | Description | Default | Priority
| *camel.source.path.resourceUri* | Path to the resource. You can prefix with: classpath, file, http, ref, or bean. classpath, file and http loads the resource using these protocols (classpath is default). ref will lookup the resource in the registry. bean will call a method on a bean to be used as the resource. For bean you can specify the method name after dot, eg bean:myBean.myMethod. | null | HIGH
| *camel.source.endpoint.argumentFile* | A text file to read more arguments from. | null | MEDIUM
| *camel.source.endpoint.combinedTagStats* | Creates combined statistics based on tags. Use the format tags:title List | null | MEDIUM
| *camel.source.endpoint.contentCache* | Sets whether to use resource content cache or not | false | MEDIUM
| *camel.source.endpoint.criticalTags* | Tests that have the given tags are considered critical. List | null | MEDIUM
| *camel.source.endpoint.debugFile* | A debug file that is written during execution. | null | MEDIUM
| *camel.source.endpoint.document* | Sets the documentation of the top-level tests suites. | null | MEDIUM
| *camel.source.endpoint.dryrun* | Sets dryrun mode on use. In the dry run mode tests are run without executing keywords originating from test libraries. Useful for validating test data syntax. | false | MEDIUM
| *camel.source.endpoint.excludes* | Selects the tests cases by tags. List | null | MEDIUM
| *camel.source.endpoint.exitOnFailure* | Sets robot to stop execution immediately if a critical test fails. | false | MEDIUM
| *camel.source.endpoint.includes* | Selects the tests cases by tags. List | null | MEDIUM
| *camel.source.endpoint.listener* | Sets a single listener for monitoring tests execution | null | MEDIUM
| *camel.source.endpoint.listeners* | Sets multiple listeners for monitoring tests execution. Use the format ListenerWithArgs:arg1:arg2 or simply ListenerWithoutArgs List | null | MEDIUM
| *camel.source.endpoint.log* | Sets the path to the generated log file. | null | MEDIUM
| *camel.source.endpoint.logLevel* | Sets the threshold level for logging. | null | MEDIUM
| *camel.source.endpoint.logTitle* | Sets a title for the generated tests log. | null | MEDIUM
| *camel.source.endpoint.metadata* | Sets free metadata for the top level tests suites. comma seperated list of string resulting as List | null | MEDIUM
| *camel.source.endpoint.monitorColors* | Using ANSI colors in console. Normally colors work in unixes but not in Windows. Default is 'on'. 'on' - use colors in unixes but not in Windows 'off' - never use colors 'force' - always use colors (also in Windows) | null | MEDIUM
| *camel.source.endpoint.monitorWidth* | Width of the monitor output. Default is 78. | "78" | MEDIUM
| *camel.source.endpoint.name* | Sets the name of the top-level tests suites. | null | MEDIUM
| *camel.source.endpoint.nonCriticalTags* | Tests that have the given tags are not critical. List | null | MEDIUM
| *camel.source.endpoint.noStatusReturnCode* | If true, sets the return code to zero regardless of failures in test cases. Error codes are returned normally. | false | MEDIUM
| *camel.source.endpoint.output* | Sets the path to the generated output file. | null | MEDIUM
| *camel.source.endpoint.outputDirectory* | Configures where generated reports are to be placed. | null | MEDIUM
| *camel.source.endpoint.randomize* | Sets the test execution order to be randomized. Valid values are all, suite, and test | null | MEDIUM
| *camel.source.endpoint.report* | Sets the path to the generated report file. | null | MEDIUM
| *camel.source.endpoint.reportBackground* | Sets background colors for the generated report and summary. | null | MEDIUM
| *camel.source.endpoint.reportTitle* | Sets a title for the generated tests report. | null | MEDIUM
| *camel.source.endpoint.runEmptySuite* | Executes tests also if the top level test suite is empty. Useful e.g. with --include/--exclude when it is not an error that no test matches the condition. | false | MEDIUM
| *camel.source.endpoint.runFailed* | Re-run failed tests, based on output.xml file. | null | MEDIUM
| *camel.source.endpoint.runMode* | Sets the execution mode for this tests run. Note that this setting has been deprecated in Robot Framework 2.8. Use separate dryryn, skipTeardownOnExit, exitOnFailure, and randomize settings instead. | null | MEDIUM
| *camel.source.endpoint.skipTeardownOnExit* | Sets whether the teardowns are skipped if the test execution is prematurely stopped. | false | MEDIUM
| *camel.source.endpoint.splitOutputs* | Splits output and log files. | null | MEDIUM
| *camel.source.endpoint.suites* | Selects the tests suites by name. List | null | MEDIUM
| *camel.source.endpoint.suiteStatLevel* | Defines how many levels to show in the Statistics by Suite table in outputs. | null | MEDIUM
| *camel.source.endpoint.summaryTitle* | Sets a title for the generated summary report. | null | MEDIUM
| *camel.source.endpoint.tagDocs* | Adds documentation to the specified tags. List | null | MEDIUM
| *camel.source.endpoint.tags* | Sets the tags(s) to all executed tests cases. List | null | MEDIUM
| *camel.source.endpoint.tagStatExcludes* | Excludes these tags from the Statistics by Tag and Test Details by Tag tables in outputs. List | null | MEDIUM
| *camel.source.endpoint.tagStatIncludes* | Includes only these tags in the Statistics by Tag and Test Details by Tag tables in outputs. List | null | MEDIUM
| *camel.source.endpoint.tagStatLinks* | Adds external links to the Statistics by Tag table in outputs. Use the format pattern:link:title List | null | MEDIUM
| *camel.source.endpoint.tests* | Selects the tests cases by name. List | null | MEDIUM
| *camel.source.endpoint.timestampOutputs* | Adds a timestamp to all output files. | false | MEDIUM
| *camel.source.endpoint.variableFiles* | Sets variables using variables files. Use the format path:args List | null | MEDIUM
| *camel.source.endpoint.variables* | Sets individual variables. Use the format name:value List | null | MEDIUM
| *camel.source.endpoint.warnOnSkippedFiles* | Show a warning when an invalid file is skipped. | false | MEDIUM
| *camel.source.endpoint.xunitFile* | Sets the path to the generated XUnit compatible result file, relative to outputDirectory. The file is in xml format. By default, the file name is derived from the testCasesDirectory parameter, replacing blanks in the directory name by underscores. | null | MEDIUM
| *camel.source.endpoint.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. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. | false | MEDIUM
| *camel.source.endpoint.sendEmptyMessageWhenIdle* | If the polling consumer did not poll any files, you can enable this option to send an empty message (no body) instead. | false | MEDIUM
| *camel.source.endpoint.exceptionHandler* | To let the consumer use a custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this option is not in use. By default the consumer will deal with exceptions, that will be logged at WARN or ERROR level and ignored. | null | MEDIUM
| *camel.source.endpoint.exchangePattern* | Sets the exchange pattern when the consumer creates an exchange. One of: [InOnly] [InOut] [InOptionalOut] | null | MEDIUM
| *camel.source.endpoint.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. | null | MEDIUM
| *camel.source.endpoint.basicPropertyBinding* | Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities | false | MEDIUM
| *camel.source.endpoint.synchronous* | Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). | false | MEDIUM
| *camel.source.endpoint.backoffErrorThreshold* | The number of subsequent error polls (failed due some error) that should happen before the backoffMultipler should kick-in. | null | MEDIUM
| *camel.source.endpoint.backoffIdleThreshold* | The number of subsequent idle polls that should happen before the backoffMultipler should kick-in. | null | MEDIUM
| *camel.source.endpoint.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. | null | MEDIUM
| *camel.source.endpoint.delay* | Milliseconds before the next poll. You can also specify time values using units, such as 60s (60 seconds), 5m30s (5 minutes and 30 seconds), and 1h (1 hour). | 500L | MEDIUM
| *camel.source.endpoint.greedy* | If greedy is enabled, then the ScheduledPollConsumer will run immediately again, if the previous run polled 1 or more messages. | false | MEDIUM
| *camel.source.endpoint.initialDelay* | Milliseconds before the first poll starts. You can also specify time values using units, such as 60s (60 seconds), 5m30s (5 minutes and 30 seconds), and 1h (1 hour). | 1000L | MEDIUM
| *camel.source.endpoint.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. | 0L | MEDIUM
| *camel.source.endpoint.runLoggingLevel* | The consumer logs a start/complete log line when it polls. This option allows you to configure the logging level for that. One of: [TRACE] [DEBUG] [INFO] [WARN] [ERROR] [OFF] | "TRACE" | MEDIUM
| *camel.source.endpoint.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. | null | MEDIUM
| *camel.source.endpoint.scheduler* | To use a cron scheduler from either camel-spring or camel-quartz component One of: [none] [spring] [quartz] | "none" | MEDIUM
| *camel.source.endpoint.schedulerProperties* | To configure additional properties when using a custom scheduler or any of the Quartz, Spring based scheduler. | null | MEDIUM
| *camel.source.endpoint.startScheduler* | Whether the scheduler should be auto started. | true | MEDIUM
| *camel.source.endpoint.timeUnit* | Time unit for initialDelay and delay options. One of: [NANOSECONDS] [MICROSECONDS] [MILLISECONDS] [SECONDS] [MINUTES] [HOURS] [DAYS] | "MILLISECONDS" | MEDIUM
| *camel.source.endpoint.useFixedDelay* | Controls if fixed delay or fixed rate is used. See ScheduledExecutorService in JDK for details. | true | MEDIUM
| *camel.component.robotframework.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. By default the consumer will use the org.apache.camel.spi.ExceptionHandler to deal with exceptions, that will be logged at WARN or ERROR level and ignored. | false | MEDIUM
| *camel.component.robotframework.basicProperty Binding* | Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities | false | MEDIUM
| *camel.component.robotframework.configuration* | The configuration | null | MEDIUM
|===
// kafka-connector options: END