Ceph Sink
Provided by: "Apache Software Foundation"
Support Level for this Kamelet is: "Stable"
Upload data to an Ceph Bucket managed by a Object Storage Gateway.
In the header, you can optionally set the file
/ ce-file
property to specify the name of the file to upload.
If you do not set the property in the header, the Kamelet uses the exchange ID for the file name.
Configuration Options
The following table summarizes the configuration options available for the ceph-sink
Kamelet:
Property | Name | Description | Type | Default | Example |
---|---|---|---|---|---|
Access Key | Required The access key. | string | |||
Bucket Name | Required The Ceph Bucket name. | string | |||
Ceph Url Address | Required Set the Ceph Object Storage Address Url. | string | http://ceph-storage-address.com | ||
Secret Key | Required The secret key. | string | |||
Bucket Zone Group | Required The bucket zone group. | string | |||
Autocreate Bucket | Specifies to automatically create the bucket. | boolean | false | ||
Key Name | The key name for saving an element in the bucket. | string |
Dependencies
At runtime, the ceph-sink
Kamelet relies upon the presence of the following dependencies:
-
camel:core
-
camel:aws2-s3
-
camel:kamelet
Camel JBang usage
Prerequisites
-
You’ve installed JBang.
-
You have executed the following command:
jbang app install camel@apache/camel
Supposing you have a file named route.yaml with this content:
- route:
from:
uri: "kamelet:timer-source"
parameters:
period: 10000
message: 'test'
steps:
- to:
uri: "kamelet:ceph-sink"
You can now run it directly through the following command
camel run route.yaml