Skip to content

Commit dbd0d72

Browse files
committed
Update Pulsar to 4.1.1
This commit updates the following dependency versions in preparation for the upcoming `1.0.0` release. - Pulsar from `4.0.5` to `4.1.1` - Jackson from `2.14.2` to `2.20.0` - Log4j from `2.24.3` to `2.25.2` - Reactor from `3.6.17` to `3.8.0-RC1` Signed-off-by: onobc <[email protected]>
1 parent 8e16033 commit dbd0d72

File tree

5 files changed

+21
-10
lines changed

5 files changed

+21
-10
lines changed

gradle/libs.versions.toml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,20 @@ assertj = "3.26.3"
2222
caffeine = "2.9.3"
2323
checkstyle = "9.3"
2424
# @pin
25-
jackson = "2.14.2"
25+
jackson = "2.20.0"
26+
2627
# @pin
2728
jctools = "3.3.0"
2829
junit-jupiter = "5.11.3"
2930
licenser = "0.6.1"
30-
log4j = "2.24.3"
31-
mockito = "5.18.0"
32-
pulsar = "4.0.5"
31+
log4j = "2.25.2"
32+
mockito = "5.20.0"
33+
pulsar = "4.1.1"
3334
rat-gradle = "0.8.0"
34-
reactor = "3.6.17"
35+
reactor = "3.8.0-RC1"
3536
slf4j = "2.0.17"
36-
spring-javaformat = "0.0.46"
37-
testcontainers = "1.21.1"
37+
spring-javaformat = "0.0.47"
38+
testcontainers = "1.21.3"
3839
testlogger = "3.2.0"
3940

4041
[libraries]

pulsar-client-reactive-adapter/src/intTest/java/org/apache/pulsar/reactive/client/adapter/SingletonPulsarContainer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ static PulsarAdmin createPulsarAdmin() throws PulsarClientException {
5252
}
5353

5454
static DockerImageName getPulsarImage() {
55-
return DockerImageName.parse("apachepulsar/pulsar:4.0.4");
55+
return DockerImageName.parse("apachepulsar/pulsar:4.1.1");
5656
}
5757

5858
}

pulsar-client-reactive-api/src/test/java/org/apache/pulsar/reactive/client/api/MessageResultTests.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,11 @@ public byte[] getSchemaVersion() {
216216
return new byte[0];
217217
}
218218

219+
@Override
220+
public Optional<byte[]> getSchemaId() {
221+
return Optional.empty();
222+
}
223+
219224
@Override
220225
public boolean isReplicated() {
221226
return false;

pulsar-client-reactive-api/src/test/java/org/apache/pulsar/reactive/client/api/ReactiveMessagePipelineTests.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -685,6 +685,11 @@ public byte[] getSchemaVersion() {
685685
return new byte[0];
686686
}
687687

688+
@Override
689+
public Optional<byte[]> getSchemaId() {
690+
return Optional.empty();
691+
}
692+
688693
@Override
689694
public boolean isReplicated() {
690695
return false;

scripts/validate_staging_repo.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ if ! command -v gradle &>/dev/null; then
4040
fi
4141

4242
DOCKER_CONTAINER_NAME=pulsar-standalone-$$
43-
: ${DOCKER_IMAGE_NAME:=apachepulsar/pulsar:4.0.4}
43+
: ${DOCKER_IMAGE_NAME:=apachepulsar/pulsar:4.1.1}
4444

4545
mkdir test-app-reactive-$$
4646
cd test-app-reactive-$$
@@ -90,7 +90,7 @@ public class HelloPulsarClientReactive {
9090
9191
public static void main(String[] args) throws PulsarClientException, InterruptedException {
9292
// Before running this, start Pulsar within docker with this command:
93-
// docker run -it -p 8080:8080 -p 6650:6650 apachepulsar/pulsar:4.0.4 /pulsar/bin/pulsar standalone -nss -nfw
93+
// docker run -it -p 8080:8080 -p 6650:6650 apachepulsar/pulsar:4.1.1 /pulsar/bin/pulsar standalone -nss -nfw
9494
9595
try (PulsarClient pulsarClient = PulsarClient.builder().serviceUrl("pulsar://localhost:6650").build()) {
9696

0 commit comments

Comments
 (0)