diff --git a/docker-compose.yml b/docker-compose.yml index add5061..b366149 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -16,7 +16,7 @@ services: - "15432:5432" kafka: - image: docker.io/apache/kafka:3.7.0 + image: docker.io/apache/kafka-native:3.8.0 environment: CLUSTER_ID: 4L6g3nShT-eMCtK--X86sw KAFKA_NODE_ID: 1 diff --git a/pom.xml b/pom.xml index 973acc1..b23163e 100644 --- a/pom.xml +++ b/pom.xml @@ -16,7 +16,7 @@ appointments - 0.3.7 + 0.3.8 Appointments Application to create appointments (REST API) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index ef32648..ae9ee53 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -13,6 +13,7 @@ management.endpoints.jmx.exposure.exclude: "*" spring: threads.virtual.enabled: true + datasource: url: ${JDBC_URL:jdbc:postgresql://localhost:15432/local} username: ${JDBC_USERNAME:root} diff --git a/src/test/java/com/github/jaguililla/appointments/ApplicationIT.java b/src/test/java/com/github/jaguililla/appointments/ApplicationIT.java index a531975..7a1bf31 100644 --- a/src/test/java/com/github/jaguililla/appointments/ApplicationIT.java +++ b/src/test/java/com/github/jaguililla/appointments/ApplicationIT.java @@ -31,7 +31,7 @@ class ApplicationIT { static PostgreSQLContainer postgres = new PostgreSQLContainer<>("postgres:16-alpine"); - static KafkaContainer kafka = new KafkaContainer("apache/kafka:3.7.0"); + static KafkaContainer kafka = new KafkaContainer("apache/kafka:3.8.0"); private final TestTemplate client; @Autowired