camel-minio-kafka-connector sink configuration

When using camel-minio-kafka-connector as sink make sure to use the following Maven dependency to have support for the connector:

<dependency>
  <groupId>org.apache.camel.kafkaconnector</groupId>
  <artifactId>camel-minio-kafka-connector</artifactId>
  <version>x.x.x</version>
  <!-- use the same version as your Camel Kafka connector version -->
</dependency>

To use this Sink connector in Kafka connect you’ll need to set the following connector.class

connector.class=org.apache.camel.kafkaconnector.minio.CamelMinioSinkConnector

The camel-minio sink connector supports 43 options, which are listed below.

Name Description Default Required Priority

camel.sink.path.bucketName

Bucket name

null

true

HIGH

camel.sink.endpoint.autoCreateBucket

Setting the autocreation of the bucket if bucket name not exist.

true

false

MEDIUM

camel.sink.endpoint.customHttpClient

Set custom HTTP client for authenticated access.

null

false

MEDIUM

camel.sink.endpoint.endpoint

Endpoint can be an URL, domain name, IPv4 address or IPv6 address.

null

false

MEDIUM

camel.sink.endpoint.minioClient

Reference to a Minio Client object in the registry.

null

false

MEDIUM

camel.sink.endpoint.objectLock

Set when creating new bucket.

false

false

MEDIUM

camel.sink.endpoint.policy

The policy for this queue to set in the method.

null

false

MEDIUM

camel.sink.endpoint.proxyPort

TCP/IP port number. 80 and 443 are used as defaults for HTTP and HTTPS.

null

false

MEDIUM

camel.sink.endpoint.region

The region in which Minio client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example ap-east-1). You’ll need to use the name Region.EU_WEST_1.id()

null

false

MEDIUM

camel.sink.endpoint.secure

Flag to indicate to use secure connection to minio service or not.

false

false

MEDIUM

camel.sink.endpoint.serverSideEncryption

Server-side encryption.

null

false

MEDIUM

camel.sink.endpoint.serverSideEncryptionCustomer Key

Server-side encryption for source object while copy/move objects.

null

false

MEDIUM

camel.sink.endpoint.deleteAfterWrite

Delete file object after the Minio file has been uploaded.

false

false

MEDIUM

camel.sink.endpoint.keyName

Setting the key name for an element in the bucket through endpoint parameter.

null

false

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

false

MEDIUM

camel.sink.endpoint.operation

The operation to do in case the user don’t want to do only an upload. One of: [copyObject] [listObjects] [deleteObject] [deleteObjects] [deleteBucket] [listBuckets] [getObject] [getObjectRange]

null

false

MEDIUM

camel.sink.endpoint.pojoRequest

If we want to use a POJO request as body or not.

false

false

MEDIUM

camel.sink.endpoint.storageClass

The storage class to set in the request.

null

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

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

false

MEDIUM

camel.sink.endpoint.accessKey

Amazon AWS Secret Access Key or Minio Access Key. If not set camel will connect to service for anonymous access.

null

false

MEDIUM

camel.sink.endpoint.secretKey

Amazon AWS Access Key Id or Minio Secret Key. If not set camel will connect to service for anonymous access.

null

false

MEDIUM

camel.component.minio.autoCreateBucket

Setting the autocreation of the bucket if bucket name not exist.

true

false

MEDIUM

camel.component.minio.configuration

The component configuration

null

false

MEDIUM

camel.component.minio.customHttpClient

Set custom HTTP client for authenticated access.

null

false

MEDIUM

camel.component.minio.endpoint

Endpoint can be an URL, domain name, IPv4 address or IPv6 address.

null

false

MEDIUM

camel.component.minio.minioClient

Reference to a Minio Client object in the registry.

null

false

MEDIUM

camel.component.minio.objectLock

Set when creating new bucket.

false

false

MEDIUM

camel.component.minio.policy

The policy for this queue to set in the method.

null

false

MEDIUM

camel.component.minio.proxyPort

TCP/IP port number. 80 and 443 are used as defaults for HTTP and HTTPS.

null

false

MEDIUM

camel.component.minio.region

The region in which Minio client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example ap-east-1). You’ll need to use the name Region.EU_WEST_1.id()

null

false

MEDIUM

camel.component.minio.secure

Flag to indicate to use secure connection to minio service or not.

false

false

MEDIUM

camel.component.minio.serverSideEncryption

Server-side encryption.

null

false

MEDIUM

camel.component.minio.serverSideEncryptionCustomer Key

Server-side encryption for source object while copy/move objects.

null

false

MEDIUM

camel.component.minio.deleteAfterWrite

Delete file object after the Minio file has been uploaded.

false

false

MEDIUM

camel.component.minio.keyName

Setting the key name for an element in the bucket through endpoint parameter.

null

false

MEDIUM

camel.component.minio.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

false

MEDIUM

camel.component.minio.operation

The operation to do in case the user don’t want to do only an upload. One of: [copyObject] [listObjects] [deleteObject] [deleteObjects] [deleteBucket] [listBuckets] [getObject] [getObjectRange]

null

false

MEDIUM

camel.component.minio.pojoRequest

If we want to use a POJO request as body or not.

false

false

MEDIUM

camel.component.minio.storageClass

The storage class to set in the request.

null

false

MEDIUM

camel.component.minio.basicPropertyBinding

Whether the component should use basic property binding (Camel 2.x) or the newer property binding with additional capabilities

false

false

LOW

camel.component.minio.accessKey

Amazon AWS Secret Access Key or Minio Access Key. If not set camel will connect to service for anonymous access.

null

false

MEDIUM

camel.component.minio.secretKey

Amazon AWS Access Key Id or Minio Secret Key. If not set camel will connect to service for anonymous access.

null

false

MEDIUM

The camel-minio sink connector has no converters out of the box.

The camel-minio sink connector has no transforms out of the box.

The camel-minio sink connector has no aggregation strategies out of the box.