GH-214: Fix kinesis-produce-consume does not run
Fixes https://github.com/spring-cloud/spring-cloud-stream-samples/issues/214 * Use H2 as embedded DB * Bump `spring-cloud-stream-binder-kinesis` to `2.2.0`
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
<dependency>
|
||||
<groupId>org.springframework.cloud</groupId>
|
||||
<artifactId>spring-cloud-stream-binder-kinesis</artifactId>
|
||||
<version>2.0.2.BUILD-SNAPSHOT</version>
|
||||
<version>2.2.0</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
@@ -54,6 +54,12 @@
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-data-jpa</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.h2database</groupId>
|
||||
<artifactId>h2</artifactId>
|
||||
<scope>runtime</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
|
||||
@@ -25,7 +25,13 @@ spring:
|
||||
content-type: application/json
|
||||
function:
|
||||
definition: processOrder;produceOrder
|
||||
|
||||
datasource:
|
||||
url: jdbc:h2:mem:testdb
|
||||
driverClassName: org.h2.Driver
|
||||
username: sa
|
||||
password: password
|
||||
jpa:
|
||||
database-platform: org.hibernate.dialect.H2Dialect
|
||||
|
||||
cloud:
|
||||
aws:
|
||||
|
||||
Reference in New Issue
Block a user