From 3f7a77f4442c31d2ee20fcbdef6d992e7e4900ad Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Thu, 10 Apr 2025 13:34:41 -0700 Subject: [PATCH] Upgrade to Pulsar 4.0.4 Closes gh-45124 --- .../boot/autoconfigure/pulsar/PulsarPropertiesMapperTests.java | 2 +- .../pulsar/PulsarReactivePropertiesMapperTests.java | 2 +- spring-boot-project/spring-boot-dependencies/build.gradle | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/pulsar/PulsarPropertiesMapperTests.java b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/pulsar/PulsarPropertiesMapperTests.java index 5e8ca006fc..e2cfb02014 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/pulsar/PulsarPropertiesMapperTests.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/pulsar/PulsarPropertiesMapperTests.java @@ -254,7 +254,7 @@ class PulsarPropertiesMapperTests { then(builder).should().topicsPattern(topisPattern); then(builder).should().priorityLevel(123); then(builder).should().readCompacted(true); - then(builder).should().deadLetterPolicy(new DeadLetterPolicy(1, null, "my-dlt", null)); + then(builder).should().deadLetterPolicy(new DeadLetterPolicy(1, null, "my-dlt", null, null, null)); } @Test diff --git a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/pulsar/PulsarReactivePropertiesMapperTests.java b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/pulsar/PulsarReactivePropertiesMapperTests.java index 1c45f1aa9c..1fe1e129a6 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/pulsar/PulsarReactivePropertiesMapperTests.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/pulsar/PulsarReactivePropertiesMapperTests.java @@ -107,7 +107,7 @@ class PulsarReactivePropertiesMapperTests { then(builder).should().topicsPattern(topisPattern); then(builder).should().priorityLevel(123); then(builder).should().readCompacted(true); - then(builder).should().deadLetterPolicy(new DeadLetterPolicy(1, null, "my-dlt", null)); + then(builder).should().deadLetterPolicy(new DeadLetterPolicy(1, null, "my-dlt", null, null, null)); then(builder).should().retryLetterTopicEnable(false); then(builder).should().subscriptionName("subname"); then(builder).should().subscriptionInitialPosition(SubscriptionInitialPosition.Earliest); diff --git a/spring-boot-project/spring-boot-dependencies/build.gradle b/spring-boot-project/spring-boot-dependencies/build.gradle index ed9d5c9061..fd3f1ac609 100644 --- a/spring-boot-project/spring-boot-dependencies/build.gradle +++ b/spring-boot-project/spring-boot-dependencies/build.gradle @@ -1776,7 +1776,7 @@ bom { releaseNotes("https://github.com/prometheus/client_java/releases/tag/parent-{version}") } } - library("Pulsar", "4.0.3") { + library("Pulsar", "4.0.4") { group("org.apache.pulsar") { bom("pulsar-bom") { permit("org.apache.maven.plugin-tools:maven-plugin-annotations")