Sample application created to demonstrate how to properly implement graceful shutdown of Apache Pulsar queue consumers in Java with Spring Boot, to accompany this blog post:
docker compose up -d
./mvnw clean install
SPRING_PROFILES_ACTIVE=producer ./mvnw spring-boot:run
SPRING_PROFILES_ACTIVE=consumer ./mvnw spring-boot:run