编辑:问题是我的@PulsarListener位于 class 而不是 Spring Bean,因此没有被发现。 添加@Service注释解决了问题。 我在 Spring Boot 3.0.1 项目中并使用org.springframework.pulsar:spring-pulsar-spring ...
编辑:问题是我的@PulsarListener位于 class 而不是 Spring Bean,因此没有被发现。 添加@Service注释解决了问题。 我在 Spring Boot 3.0.1 项目中并使用org.springframework.pulsar:spring-pulsar-spring ...
我们有一个将消息发送到多个主题的 SpringBoot 应用程序,每个主题都有一个定义的 JSON Schema。 我想减少样板代码,这样当定义的类型已经具有该信息时,我们就不必在PulsarTemplate实例上调用setSchema 。 此外,我们可以潜在地消除使用主题名称调用.send的需要 ...
我第一次使用 Apache Pulsar,但发现很难发布和收听自定义对象。 我已经按照此参考页的指示定义了架构,但由于某种原因它不起作用。@SpringBootApplication public class QuickbooksApplication { public static void ...