이 콘텐츠는 선택한 언어로 제공되지 않습니다.
Chapter 21. Ceph Source
Receive data from an Ceph Bucket, managed by a Object Storage Gateway.
21.1. Configuration Options 링크 복사링크가 클립보드에 복사되었습니다!
The following table summarizes the configuration options available for the ceph-source Kamelet:
| Property | Name | Description | Type | Default | Example |
|---|---|---|---|---|---|
| accessKey * | Access Key | The access key. | string | ||
| bucketName * | Bucket Name | The Ceph Bucket name. | string | ||
| cephUrl * | Ceph Url Address | Set the Ceph Object Storage Address Url. | string | ||
| secretKey * | Secret Key | The secret key. | string | ||
| zoneGroup * | Bucket Zone Group | The bucket zone group. | string | ||
| autoCreateBucket | Autocreate Bucket | Specifies to automatically create the bucket. | boolean | False | |
| delay | Delay | The number of milliseconds before the next poll of the selected bucket. | integer | 500 | |
| deleteAfterRead | Auto-delete Objects | Specifies to delete objects after consuming them. | boolean | True | |
| ignoreBody | Ignore Body |
If true, the Object body is ignored. Setting this to true overrides any behavior defined by the | boolean | False | |
| includeBody | Include Body | If true, the exchange is consumed and put into the body and closed. If false, the Object stream is put raw into the body and the headers are set with the object metadata. | boolean | True | |
| prefix | Prefix | The bucket prefix to consider while searching. | string | folder/ |
* = Fields marked with an asterisk are mandatory.
21.2. Dependencies 링크 복사링크가 클립보드에 복사되었습니다!
21.2.1. Quarkus dependencies 링크 복사링크가 클립보드에 복사되었습니다!
21.3. Usage 링크 복사링크가 클립보드에 복사되었습니다!
21.3.1. Camel JBang usage 링크 복사링크가 클립보드에 복사되었습니다!
21.3.1.1. Prerequisites for JBang 링크 복사링크가 클립보드에 복사되었습니다!
- Install JBang.
You have executed the following command:
jbang app install camel@apache/camel
jbang app install camel@apache/camelCopy to Clipboard Copied! Toggle word wrap Toggle overflow
21.3.1.2. Running a route with JBang 링크 복사링크가 클립보드에 복사되었습니다!
Suppose you have a file named route.yaml with this content:
You can now run it directly through the following command.
camel run route.yaml
camel run route.yaml
21.3.2. Knative Source 링크 복사링크가 클립보드에 복사되었습니다!
You can use the ceph-source Kamelet as a Knative source by binding it to a Knative object.
ceph-source-binding.yaml
21.3.3. Kafka Source 링크 복사링크가 클립보드에 복사되었습니다!
You can use the ceph-source Kamelet as a Kafka source by binding it to a Kafka topic.
ceph-source-binding.yaml