# pulsar-spring-boot-starter **Repository Path**: TPSHION/pulsar-spring-boot-starter ## Basic Information - **Project Name**: pulsar-spring-boot-starter - **Description**: apache-pulsar 自动配置类 - **Primary Language**: Java - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-03-16 - **Last Updated**: 2023-03-31 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # pulsar-spring-boot-starter #### 介绍 apache-pulsar 自动配置类 #### 软件架构 简化pulsar配置 application.yml配置: ``` spring: application: name: pulsar-demo pulsar: service-url: http://localhost:8080 token: OxO producers[0]: topic: mytopic producer-name: testProducer namespace: test tenant: pulsar-9n8mgnebdeoe producers[1]: topic: mytopic producer-name: myProducer namespace: test tenant: pulsar-9n8mgnebdeoe topic-schema: bytes subscription-type: exclusive topic-schema: bytes consumers[0]: topic: mytopic consumer-name: testConsumer namespace: test tenant: pulsar-9n8mgnebdeoe subscription-name: test-sub subscription-type: shared consumers[1]: topic: mytopic consumer-name: myConsumer namespace: test tenant: pulsar-9n8mgnebdeoe subscription-name: test-sub subscription-type: shared ``` 使用: ![输入图片说明](src/main/resources/Dingtalk_20230317092249.jpg)