From 0a40fddaa713db6548c3f3ad75913514df2d5386 Mon Sep 17 00:00:00 2001 From: Chris Bono Date: Mon, 9 Oct 2023 22:43:10 -0500 Subject: [PATCH] Upgrade to Pulsar Reactive 0.4.0 This commit updates the Reactive client used by Spring Pulsar to version 0.4.0. The updated client fixes an issue where the non-reactive and reactive shaded producer cache had the same relocation prefix. This allows the removal of the shaded relocation prefixes from the checkRuntimeClasspathForConflicts ignore closure. See gh-37801 --- spring-boot-project/spring-boot-dependencies/build.gradle | 2 +- .../spring-boot-starter-pulsar-reactive/build.gradle | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/spring-boot-project/spring-boot-dependencies/build.gradle b/spring-boot-project/spring-boot-dependencies/build.gradle index de77ffdd30..abdfacd240 100644 --- a/spring-boot-project/spring-boot-dependencies/build.gradle +++ b/spring-boot-project/spring-boot-dependencies/build.gradle @@ -1218,7 +1218,7 @@ bom { ] } } - library("Pulsar Reactive", "0.3.0") { + library("Pulsar Reactive", "0.4.0") { group("org.apache.pulsar") { modules = [ "pulsar-client-reactive-adapter", diff --git a/spring-boot-project/spring-boot-starters/spring-boot-starter-pulsar-reactive/build.gradle b/spring-boot-project/spring-boot-starters/spring-boot-starter-pulsar-reactive/build.gradle index 777b69567b..22b23cf2af 100644 --- a/spring-boot-project/spring-boot-starters/spring-boot-starter-pulsar-reactive/build.gradle +++ b/spring-boot-project/spring-boot-starters/spring-boot-starter-pulsar-reactive/build.gradle @@ -11,9 +11,6 @@ dependencies { checkRuntimeClasspathForConflicts { ignore { name -> name.startsWith("org/bouncycastle/") || - name.matches("^org\\/apache\\/pulsar\\/.*\\/package-info.class\$") || - name.equals("findbugsExclude.xml") || - name.startsWith("org/springframework/pulsar/shade/com/github/benmanes/caffeine/") || - name.startsWith("org/springframework/pulsar/shade/com/google/errorprone/") || - name.startsWith("org/springframework/pulsar/shade/org/checkerframework/") } + name.matches("^org\\/apache\\/pulsar\\/.*\\/package-info.class\$") || + name.equals("findbugsExclude.xml") } }