Introducing Spring for Apache Pulsar
summary
Spring for Apache Pulsar provides auto‑configured Java clients for both the imperative Pulsar client and a reactive client donated by DataStax, plus PulsarTemplate/PulsarListener abstractions, JSON schema defaults, and a spring Cloud stream binder that maps POJO functions to topics. Demo builds a user‑registration pipeline (user -> registeredUser topics) using Gradle, Spring Boot 3 / Spring Framework 6 and Reactor; GraalVM native image cuts startup from ~1.8s to ~0.2s. Planned work adds XA/transaction support and tighter YAML defaults.
AI-written summary · about
chapters (20)
- 0:00Introduction
- 1:05What is Apache Pulsar
- 2:29Spring for Apache Pulsar
- 4:56Pulsar concepts overview
- 8:08Spring Pulsar features
- 15:13Live demo introduction
- 16:14Setting up the project
- 17:18Creating user service
- 20:52Producing messages
- 23:02Verifying messages
- 24:13Consuming messages
- 25:18Simplifying configuration
- 26:24Reactive messaging
- 27:51Adding reactive support
- 32:07Reactive producer and consumer
- 37:58Spring Cloud Stream binding
- 41:14Configuring stream bindings
- 44:47GraalVM native image
- 46:31Future framework developments
- 50:25Q&A session








