forked from temporalio/samples-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapplication.yaml
More file actions
42 lines (42 loc) · 1.03 KB
/
Copy pathapplication.yaml
File metadata and controls
42 lines (42 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
server:
port: 3030
spring:
main:
allow-bean-definition-overriding: true
application:
name: temporal-samples
# temporal specific configs
temporal:
connection:
target: 127.0.0.1:7233
target.namespace: default
workersAutoDiscovery:
packages: io.temporal.samples.springboot
# enable test server for testing
test-server:
enabled: true
# data source config for tests that need it
datasource:
url: jdbc:h2:mem:test;DB_CLOSE_DELAY=-1;DATABASE_TO_UPPER=false;DB_CLOSE_ON_EXIT=FALSE;
username: sa
password: pass
driver-class-name: org.h2.Driver
jpa:
database-platform: org.hibernate.dialect.H2Dialect
hibernate:
ddl-auto: create-drop
defer-datasource-initialization: true
## kafka setup for samples
kafka:
consumer:
auto-offset-reset: earliest
bootstrap-servers: ${spring.embedded.kafka.brokers}
# specific for samples
samples:
data:
language: english
message:
topic:
name: samples-test-topic
group:
name: samples-group