blob: fdf3db0bff1ebed22cf89cc7d66f09617e349eeb [file] [log] [blame]
// kafka-connector options: START
[[camel-wordpress-kafka-connector-sink]]
= camel-wordpress-kafka-connector sink configuration
When using camel-wordpress-kafka-connector as sink 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-wordpress-kafka-connector</artifactId>
<version>x.x.x</version>
<!-- use the same version as your Camel Kafka connector version -->
</dependency>
----
The camel-wordpress sink connector supports 16 options, which are listed below.
[width="100%",cols="2,5,^1,2",options="header"]
|===
| Name | Description | Default | Priority
| *camel.sink.path.operation* | The endpoint operation. One of: [post] [user] | null | HIGH
| *camel.sink.path.operationDetail* | The second part of an endpoint operation. Needed only when endpoint semantic is not enough, like wordpress:post:delete One of: [delete] | null | MEDIUM
| *camel.sink.endpoint.apiVersion* | The Wordpress REST API version | "2" | MEDIUM
| *camel.sink.endpoint.criteria* | The criteria to use with complex searches. | null | MEDIUM
| *camel.sink.endpoint.force* | Whether to bypass trash and force deletion. | false | MEDIUM
| *camel.sink.endpoint.id* | The entity ID. Should be passed when the operation performed requires a specific entity, e.g. deleting a post | null | MEDIUM
| *camel.sink.endpoint.password* | Password from authorized user | null | MEDIUM
| *camel.sink.endpoint.searchCriteria* | Search criteria | null | MEDIUM
| *camel.sink.endpoint.url* | The Wordpress API URL from your site, e.g. \http://myblog.com/wp-json/ | null | HIGH
| *camel.sink.endpoint.user* | Authorized user to perform writing operations | null | MEDIUM
| *camel.sink.endpoint.lazyStartProducer* | Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. | false | MEDIUM
| *camel.sink.endpoint.basicPropertyBinding* | Whether the endpoint should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities | false | MEDIUM
| *camel.sink.endpoint.synchronous* | Sets whether synchronous processing should be strictly used, or Camel is allowed to use asynchronous processing (if supported). | false | MEDIUM
| *camel.component.wordpress.lazyStartProducer* | Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. | false | MEDIUM
| *camel.component.wordpress.basicPropertyBinding* | Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities | false | MEDIUM
| *camel.component.wordpress.configuration* | Wordpress component configuration | null | MEDIUM
|===
// kafka-connector options: END