Update wiki Home page for google-storage-event-based-source
parent
94b2d7c405
commit
1041425f00
47
Home.md
47
Home.md
@ -1,21 +1,40 @@
|
|||||||
# Deploy the Project on CamelX Platform
|
# Google Storage Event-based Source
|
||||||
|
|
||||||
Deploy on CamelX Platform in three steps
|
Receive data from Google Pubsub reporting events related to a Google Storage bucket.
|
||||||
|
|
||||||
## Step 1: Create a release
|
Service account key is the basic method for authenticating to the Google Pubsub and Google Storage.
|
||||||
From the project space, click on **"Create a release"**
|
|
||||||
|
|
||||||
The new version is automatically available in the list
|
To use this Kamelet you'll need to set up Events notification for your Google Storage Bucket.
|
||||||
|
|
||||||
## Step 2: Deploy
|
You must encode the `serviceAccountKey` property before you pass it as a parameter.
|
||||||
Click on **"Deploy"**
|
|
||||||
|
|
||||||
- **Version:** Select the desired release
|
## Metadata
|
||||||
- **Environment:** Choose `Development`, `Staging`, or `Production`
|
|
||||||
- **Configuration:** Select the configuration source
|
|
||||||
- **Resources:** Set CPU and Memory
|
|
||||||
|
|
||||||
## Step 3: Expose
|
| Property | Value |
|
||||||
Enable **"Expose"**
|
|----------|-------|
|
||||||
|
| Type | source |
|
||||||
|
| Group | Google Storage Event-based |
|
||||||
|
| Namespace | GCP |
|
||||||
|
| Support Level | Preview |
|
||||||
|
| Provider | Apache Software Foundation |
|
||||||
|
|
||||||
Choose an **API Gateway** (Internal, Public, etc.)
|
## Properties
|
||||||
|
|
||||||
|
| Name | Type | Required | Default | Description |
|
||||||
|
|------|------|----------|---------|-------------|
|
||||||
|
| `projectId` | string | ✓ | | The Google Cloud Pub/Sub Project ID. |
|
||||||
|
| `subscriptionName` | string | ✓ | | The subscription name. |
|
||||||
|
| `serviceAccountKey` | binary | ✓ | | The service account key to use as credentials for the Pub/Sub publisher/subscriber. You must encode this value in base64. |
|
||||||
|
| `synchronousPull` | boolean | | `false` | Specifies to synchronously pull batches of messages. |
|
||||||
|
| `maxMessagesPerPoll` | integer | | `1` | The maximum number of messages to receive from the server in a single API call. |
|
||||||
|
| `concurrentConsumers` | integer | | `1` | The number of parallel streams to consume from the subscription. |
|
||||||
|
| `bucketNameOrArn` | string | ✓ | | The Google Cloud Storage bucket name or Bucket Amazon Resource Name (ARN). |
|
||||||
|
| `getObject` | boolean | | `false` | If getObject is enabled, then the file created in the Bucket will be get and returned as body, if not only the event will be returned as body. |
|
||||||
|
|
||||||
|
## Dependencies
|
||||||
|
|
||||||
|
- `camel:kamelet`
|
||||||
|
- `camel:google-pubsub`
|
||||||
|
- `camel:google-storage`
|
||||||
|
- `camel:jackson`
|
||||||
|
- `camel:core`
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user