Skip to content

Commit

Permalink
(fix): fixed issue with google pubsub project string
Browse files Browse the repository at this point in the history
  • Loading branch information
SheheryarAamir authored and timonback committed Apr 1, 2024
1 parent 60e1c21 commit 57075de
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/configuration/documenting-bindings.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,26 +130,26 @@ The Channel Bindings Object is used to describe the Google Cloud Pub/Sub Topic d
lastRevisionId = "lastRevisionId",
name = "projects/{project}/schemas/{schema}"))
```
MessageRetentionDuration: Indicates the minimum duration to retain a message after it is published to the topic
`MessageRetentionDuration`: Indicates the minimum duration to retain a message after it is published to the topic

Message Storage Policy: The Message Storage Policy Object is used to describe the Google Cloud Pub/Sub MessageStoragePolicy.
`Message Storage Policy`: The Message Storage Policy Object is used to describe the Google Cloud Pub/Sub MessageStoragePolicy.
- A list of IDs of GCP regions where messages that are published to the topic may be persisted in storage

Schema Settings:The Schema Settings Object is used to describe the Google Cloud Pub/Sub SchemaSettings.
`Schema Settings`:The Schema Settings Object is used to describe the Google Cloud Pub/Sub SchemaSettings.
- encoding: The encoding of the message
- firstRevisionId: The minimum (inclusive) revision allowed for validating messages
- lastRevisionId: The maximum (inclusive) revision allowed for validating messages
- name: The name of the schema that messages published should be validated against (The format is projects/{project}/schemas/{schema}.)
- name: The name of the schema that messages published should be validated against (The format is `projects/{project}/schemas/{schema}`.)
#### Message Binding Object
The Message Binding Object is used to describe the Google Cloud Pub/Sub PubsubMessage details, alongside with pertintent parts of the Google Cloud Pub/Sub Schema Object.
```java
@GooglePubSubAsyncMessageBinding(
orderingKey = "key",
schema = @GooglePubSubAsyncMessageSchema(name = "projects/{project}/schemas/{schema}"))
```
OrderingKey: If non-empty, identifies related messages for which publish order should be respected
`OrderingKey`: If non-empty, identifies related messages for which publish order should be respected

Schema Definition: The Schema Definition Object is used to describe the Google Cloud Pub/Sub Schema Object with AsyncAPI. While some of this information could be, or is, described using native AsyncAPI, for consistency it makes sense to provide this information here at all times, especially for cases where AsyncAPI does not natively support describing payloads using a supported Google Cloud Pub/Sub schema format like Protobuf
`Schema Definition`: The Schema Definition Object is used to describe the Google Cloud Pub/Sub Schema Object with AsyncAPI. While some of this information could be, or is, described using native AsyncAPI, for consistency it makes sense to provide this information here at all times, especially for cases where AsyncAPI does not natively support describing payloads using a supported Google Cloud Pub/Sub schema format like Protobuf
- name: The name of the schema


Expand Down

0 comments on commit 57075de

Please sign in to comment.