Update Spring Pulsar for Boot 3.2.0 compatibility
The Spring Pulsar test suites were still using the legacy starter (v0.2.0) and also Pulsar 2.11.0. This commit updates to the latest versions that are compatible w/ Boot 3.2.0 See gh-189
This commit is contained in:
committed by
Moritz Halbritter
parent
597ea03cb1
commit
55e9ebe293
@@ -5,17 +5,16 @@ plugins {
|
||||
id "org.graalvm.buildtools.native"
|
||||
}
|
||||
|
||||
ext {
|
||||
set("springPulsarVersion", "0.2.1-SNAPSHOT")
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation(platform(org.springframework.boot.gradle.plugin.SpringBootPlugin.BOM_COORDINATES))
|
||||
implementation(platform("org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"))
|
||||
implementation("org.springframework.boot:spring-boot-starter")
|
||||
implementation("org.springframework.cloud:spring-cloud-stream")
|
||||
implementation("org.springframework.pulsar:spring-pulsar-spring-boot-starter:${springPulsarVersion}")
|
||||
implementation("org.springframework.pulsar:spring-pulsar-spring-cloud-stream-binder:${springPulsarVersion}")
|
||||
implementation("org.springframework.boot:spring-boot-starter-pulsar")
|
||||
// TODO remove constraints once Boot goes back to snapshots
|
||||
constraints {
|
||||
implementation('org.springframework.pulsar:spring-pulsar:1.0.0-SNAPSHOT')
|
||||
}
|
||||
|
||||
testImplementation("org.springframework.boot:spring-boot-starter-test")
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
version: '3'
|
||||
services:
|
||||
pulsar:
|
||||
image: apachepulsar/pulsar:2.11.0
|
||||
image: apachepulsar/pulsar:3.1.0
|
||||
ports:
|
||||
- '8080'
|
||||
- '6650'
|
||||
|
||||
@@ -3,7 +3,7 @@ spring.main.web-application-type: none
|
||||
spring.pulsar:
|
||||
client:
|
||||
service-url: "pulsar://${PULSAR_HOST:localhost}:${PULSAR_PORT_6650:6650}"
|
||||
administration:
|
||||
admin:
|
||||
service-url: "http://${PULSAR_HOST:localhost}:${PULSAR_PORT_8080:8080}"
|
||||
|
||||
spring.cloud:
|
||||
|
||||
Reference in New Issue
Block a user