blob: 31e7a8fe8ccdf5584348804e73d972d0d18282e6 [file] [log] [blame]
{
"connector": {
"class": "org.apache.camel.kafkaconnector.couchdb.CamelCouchdbSourceConnector",
"artifactId": "camel-couchdb-kafka-connector",
"groupId": "org.apache.camel.kafkaconnector",
"id": "camel-couchdb-source",
"type": "source",
"version": "0.7.3",
"description": "Consume changesets for inserts, updates and deletes in a CouchDB database, as well as get, save, update and delete documents from a CouchDB database."
},
"properties": {
"camel.source.path.protocol": {
"name": "camel.source.path.protocol",
"description": "The protocol to use for communicating with the database. One of: [http] [https]",
"priority": "HIGH",
"required": "true",
"enum": [
"http",
"https"
]
},
"camel.source.path.hostname": {
"name": "camel.source.path.hostname",
"description": "Hostname of the running couchdb instance",
"priority": "HIGH",
"required": "true"
},
"camel.source.path.port": {
"name": "camel.source.path.port",
"description": "Port number for the running couchdb instance",
"defaultValue": "5984",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.path.database": {
"name": "camel.source.path.database",
"description": "Name of the database to use",
"priority": "HIGH",
"required": "true"
},
"camel.source.endpoint.createDatabase": {
"name": "camel.source.endpoint.createDatabase",
"description": "Creates the database if it does not already exist",
"defaultValue": "false",
"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.deletes": {
"name": "camel.source.endpoint.deletes",
"description": "Document deletes are published as events",
"defaultValue": "true",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.heartbeat": {
"name": "camel.source.endpoint.heartbeat",
"description": "How often to send an empty message to keep socket alive in millis",
"defaultValue": "30000L",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.since": {
"name": "camel.source.endpoint.since",
"description": "Start tracking changes immediately after the given update sequence. The default, null, will start monitoring from the latest sequence.",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.style": {
"name": "camel.source.endpoint.style",
"description": "Specifies how many revisions are returned in the changes array. The default, main_only, will only return the current winning revision; all_docs will return all leaf revisions (including conflicts and deleted former conflicts.) One of: [all_docs] [main_only]",
"defaultValue": "\"main_only\"",
"priority": "MEDIUM",
"required": "false",
"enum": [
"all_docs",
"main_only"
]
},
"camel.source.endpoint.updates": {
"name": "camel.source.endpoint.updates",
"description": "Document inserts\/updates are published as events",
"defaultValue": "true",
"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.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.source.endpoint.password": {
"name": "camel.source.endpoint.password",
"description": "Password for authenticated databases",
"priority": "MEDIUM",
"required": "false"
},
"camel.source.endpoint.username": {
"name": "camel.source.endpoint.username",
"description": "Username in case of authenticated databases",
"priority": "MEDIUM",
"required": "false"
},
"camel.component.couchdb.bridgeErrorHandler": {
"name": "camel.component.couchdb.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.couchdb.autowiredEnabled": {
"name": "camel.component.couchdb.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"
}
}
}