Google Storage Event-based Source
Receive data from Google Pubsub reporting events related to a Google Storage bucket.
Service account key is the basic method for authenticating to the Google Pubsub and Google Storage.
To use this Kamelet you'll need to set up Events notification for your Google Storage Bucket.
You must encode the serviceAccountKey property before you pass it as a parameter.
Metadata
| Property |
Value |
| Type |
source |
| Group |
Google Storage Event-based |
| Namespace |
GCP |
| Support Level |
Preview |
| Provider |
Apache Software Foundation |
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