Pub/Sub 代理
Dapr支持为每个应用配置多个命名的pub/sub组件。 每个pub/sub组件都有一个名称,这个名称在发布消息主题时使用。 Read the for details on how to publish and subscribe to topics.
Pub/sub使用文件来描述:
Topic creation
根据你使用的 pub/sub 消息总线及其配置方式,主题可能会被自动创建。 即使消息总线支持自动创建主题,在生产环境中把它禁用也是一种常见的做法。 你可能会需要使用 CLI、管理控制台或请求表单来手动创建应用所需的主题。
相关链接
- Overview of the Dapr Pub/Sub building block
- 试试
- Read the guide on publishing and subscribing
- Learn about
- Learn how to configure Pub/Sub components with multiple namespaces
- List of
多个命名空间下使用Dapr Pub/Sub