Pub/Sub 代理

    Dapr集成了pub/sub消息总线,为应用程序提供了创建事件驱动、松散耦合架构的能力,在这种架构下,生产者通过主题向消费者发送事件。

    Dapr支持为每个应用配置多个命名的pub/sub组件。 每个pub/sub组件都有一个名称,这个名称在发布消息主题时使用。 Read the for details on how to publish and subscribe to topics.

    Pub/sub使用文件来描述:

    Pub/sub的类型由字段决定,连接地址和其他元数据等属性放在部分。 Even though metadata values can contain secrets in plain text, it is recommended you use a secret store using a .

    Topic creation

    Visit this guide for instructions on configuring and using pub/sub components.

    相关链接


    多个命名空间下使用Dapr Pub/Sub