blob: 854264a6bae45fa1f5888596512c0c8a5a15ffcc [file] [log] [blame]
// kafka-connector options: START
[[camel-azure-blob-kafka-connector-sink]]
= camel-azure-blob-kafka-connector sink configuration
When using camel-azure-blob-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-azure-blob-kafka-connector</artifactId>
<version>x.x.x</version>
<!-- use the same version as your Camel Kafka connector version -->
</dependency>
----
The camel-azure-blob sink connector supports 22 options, which are listed below.
[width="100%",cols="2,5,^1,2",options="header"]
|===
| Name | Description | Default | Priority
| *camel.sink.path.containerOrBlobUri* | Container or Blob compact Uri | null | HIGH
| *camel.sink.endpoint.azureBlobClient* | The blob service client | null | MEDIUM
| *camel.sink.endpoint.blobOffset* | Set the blob offset for the upload or download operations, default is 0 | "0" | MEDIUM
| *camel.sink.endpoint.blobType* | Set a blob type, 'blockblob' is default One of: [blockblob] [appendblob] [pageblob] | "blockblob" | MEDIUM
| *camel.sink.endpoint.closeStreamAfterRead* | Close the stream after read or keep it open, default is true | true | MEDIUM
| *camel.sink.endpoint.credentials* | Set the storage credentials, required in most cases | null | MEDIUM
| *camel.sink.endpoint.dataLength* | Set the data length for the download or page blob upload operations | null | MEDIUM
| *camel.sink.endpoint.fileDir* | Set the file directory where the downloaded blobs will be saved to | null | MEDIUM
| *camel.sink.endpoint.publicForRead* | Storage resources can be public for reading their content, if this property is enabled then the credentials do not have to be set | false | MEDIUM
| *camel.sink.endpoint.streamReadSize* | Set the minimum read size in bytes when reading the blob content | null | MEDIUM
| *camel.sink.endpoint.blobMetadata* | Set the blob meta-data | null | MEDIUM
| *camel.sink.endpoint.blobPrefix* | Set a prefix which can be used for listing the blobs | null | MEDIUM
| *camel.sink.endpoint.closeStreamAfterWrite* | Close the stream after write or keep it open, default is true | true | 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.operation* | Blob service operation hint to the producer One of: [getBlob] [deleteBlob] [listBlobs] [updateBlockBlob] [uploadBlobBlocks] [commitBlobBlockList] [getBlobBlockList] [createAppendBlob] [updateAppendBlob] [createPageBlob] [updatePageBlob] [resizePageBlob] [clearPageBlob] [getPageBlobRanges] | "listBlobs" | MEDIUM
| *camel.sink.endpoint.streamWriteSize* | Set the size of the buffer for writing block and page blocks | null | MEDIUM
| *camel.sink.endpoint.useFlatListing* | Specify if the flat or hierarchical blob listing should be used | true | 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.azure-blob.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.azure-blob.basicPropertyBinding* | Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities | false | MEDIUM
| *camel.component.azure-blob.configuration* | The Blob Service configuration | null | MEDIUM
|===
// kafka-connector options: END