第 123 章 Google Pubsub 组件
作为 Camel 版本 2.19 可用
Google Pubsub 组件通过 Google Client Services API 提供对 Cloud Pub/Sub 基础架构 的访问权限。
当前实现不使用 gRPC。
Maven 用户需要在这些组件的 pom.xml 中添加以下依赖项:
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-google-pubsub</artifactId>
<version>x.x.x</version>
<!-- use the same version as your Camel core version -->
</dependency>123.1. URI 格式
Google Pubsub 组件使用以下 URI 格式:
google-pubsub://project-id:destinationName?[options]
目的地名称可以是主题或订阅名称。