blob: 465d6d05f2bca0e4f4479b2fbd6c5f295a704cd4 [file] [log] [blame]
{
"connector": {
"class": "org.apache.camel.kafkaconnector.stream.CamelStreamSourceConnector",
"artifactId": "camel-stream-kafka-connector",
"groupId": "org.apache.camel.kafkaconnector",
"id": "camel-stream-source",
"type": "source",
"version": "0.7.0",
"description": "Read from system-in and write to system-out and system-err streams."
},
"properties": {
"camel.source.path.kind": {
"name": "camel.source.path.kind",
"description": "Kind of stream to use such as System.in or System.out. One of: [in] [out] [err] [header] [file]",
"priority": "HIGH",
"required": "true",
"enum": [
"in",
"out",
"err",
"header",
"file"
]
},
"camel.source.endpoint.encoding": {
"name": "camel.source.endpoint.encoding",
"description": "You can configure the encoding (is a charset name) to use text-based streams (for example, message body is a String object). If not provided, Camel uses the JVM default Charset.",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.fileName": {
"name": "camel.source.endpoint.fileName",
"description": "When using the stream:file URI format, this option specifies the filename to stream to\/from.",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.bridgeErrorHandler": {
"name": "camel.source.endpoint.bridgeErrorHandler",
"description": "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.",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.fileWatcher": {
"name": "camel.source.endpoint.fileWatcher",
"description": "To use JVM file watcher to listen for file change events to support re-loading files that may be overwritten, somewhat like tail --retry",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.groupLines": {
"name": "camel.source.endpoint.groupLines",
"description": "To group X number of lines in the consumer. For example to group 10 lines and therefore only spit out an Exchange with 10 lines, instead of 1 Exchange per line.",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.groupStrategy": {
"name": "camel.source.endpoint.groupStrategy",
"description": "Allows to use a custom GroupStrategy to control how to group lines.",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.initialPromptDelay": {
"name": "camel.source.endpoint.initialPromptDelay",
"description": "Initial delay in milliseconds before showing the message prompt. This delay occurs only once. Can be used during system startup to avoid message prompts being written while other logging is done to the system out.",
"defaultValue": "2000L",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.promptDelay": {
"name": "camel.source.endpoint.promptDelay",
"description": "Optional delay in milliseconds before showing the message prompt.",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.promptMessage": {
"name": "camel.source.endpoint.promptMessage",
"description": "Message prompt to use when reading from stream:in; for example, you could set this to Enter a command:",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.retry": {
"name": "camel.source.endpoint.retry",
"description": "Will retry opening the stream if it's overwritten, somewhat like tail --retry If reading from files then you should also enable the fileWatcher option, to make it work reliable.",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.scanStream": {
"name": "camel.source.endpoint.scanStream",
"description": "To be used for continuously reading a stream such as the unix tail command.",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.scanStreamDelay": {
"name": "camel.source.endpoint.scanStreamDelay",
"description": "Delay in milliseconds between read attempts when using scanStream.",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.exceptionHandler": {
"name": "camel.source.endpoint.exceptionHandler",
"description": "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.",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.exchangePattern": {
"name": "camel.source.endpoint.exchangePattern",
"description": "Sets the exchange pattern when the consumer creates an exchange. One of: [InOnly] [InOut] [InOptionalOut]",
"priority": "MEDIUM",
"required": "false",
"enum": [
"InOnly",
"InOut",
"InOptionalOut"
]
},
"camel.source.endpoint.readTimeout": {
"name": "camel.source.endpoint.readTimeout",
"description": "Sets the read timeout to a specified timeout, in milliseconds. A non-zero value specifies the timeout when reading from Input stream when a connection is established to a resource. If the timeout expires before there is data available for read, a java.net.SocketTimeoutException is raised. A timeout of zero is interpreted as an infinite timeout.",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.synchronous": {
"name": "camel.source.endpoint.synchronous",
"description": "Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported).",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.stream.bridgeErrorHandler": {
"name": "camel.component.stream.bridgeErrorHandler",
"description": "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.",
"defaultValue": "false",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.stream.autowiredEnabled": {
"name": "camel.component.stream.autowiredEnabled",
"description": "Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc.",
"defaultValue": "true",
"priority": "MEDIUM",
"required": "false"
}
}
}