-
Notifications
You must be signed in to change notification settings - Fork 478
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GCP PubSub] Adds Component Metadata Schema
Signed-off-by: robertojrojas <[email protected]>
- Loading branch information
1 parent
31ccb5f
commit f7f297f
Showing
2 changed files
with
78 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
# yaml-language-server: $schema=../../../component-metadata-schema.json | ||
schemaVersion: v1 | ||
type: pubsub | ||
name: pubsub.gcp.pubsub | ||
version: v1 | ||
status: stable | ||
title: "GCP Pub/Sub" | ||
urls: | ||
- title: Reference | ||
url: https://docs.dapr.io/reference/components-reference/supported-pubsub/setup-gcp-pubsub/ | ||
capabilities: [] | ||
builtinAuthenticationProfiles: | ||
- name: "gcp" | ||
metadata: | ||
- name: orderingKey | ||
description: | | ||
The key provided in the request. It’s used when enableMessageOrdering | ||
is set to true to order messages based on such key. | ||
type: string | ||
example: “my-orderingkey” | ||
- name: enableMessageOrdering | ||
description: | | ||
When set to "true", subscribed messages will be received in order, | ||
depending on publishing and permissions configuration. | ||
type: bool | ||
default: 'false' | ||
example: '"true", "false"' | ||
- name: disableEntityManagement | ||
description: | | ||
When set to "true", topics and subscriptions do not get created automatically. | ||
type: bool | ||
default: 'false' | ||
example: '"true", "false"' | ||
- name: maxReconnectionAttempts | ||
description: | | ||
Defines the maximum number of reconnect attempts. | ||
type: number | ||
default: '30' | ||
example: '30' | ||
- name: connectionRecoveryInSec | ||
description: | | ||
Time in seconds to wait between connection recovery attempts. | ||
type: number | ||
default: '2' | ||
example: '2' | ||
- name: deadLetterTopic | ||
description: | | ||
Name of the GCP Pub/Sub Topic. This topic must exist before using this component. | ||
type: string | ||
example: "myapp-dlq" | ||
- name: endpoint | ||
description: | | ||
GCP endpoint for the component to use. Only used for local development (for example) | ||
with GCP Pub/Sub Emulator. The endpoint is unnecessary when running against the GCP production API. | ||
type: string | ||
example: "http://localhost:8085" | ||
- name: maxDeliveryAttempts | ||
description: | | ||
Maximum number of attempts to deliver the message. If deadLetterTopic is specified, | ||
maxDeliveryAttempts is the maximum number of attempts for failed processing of messages. | ||
Once that number is reached, the message will be moved to the dead-letter topic. | ||
type: number | ||
default: '5' | ||
example: '5' |