Skip to content
Permalink
Browse files
[FLINK-24301] use Async transport on all statefun playground examples
This closes #14
  • Loading branch information
sjwiesman committed Sep 16, 2021
1 parent c5ba3e4 commit dffc59428a91853332a038e9d13970108d2302e9
Showing 7 changed files with 17 additions and 13 deletions.
@@ -16,7 +16,8 @@ kind: io.statefun.endpoints.v2/http
spec:
functions: example/*
urlPathTemplate: http://functions:8000/statefun
maxNumBatchRequests: 10000
transport:
type: io.statefun.transports.v1/async
---
kind: io.statefun.kafka.v1/ingress
spec:
@@ -17,7 +17,8 @@ kind: io.statefun.endpoints.v2/http
spec:
functions: showcase.fns/*
urlPathTemplate: http://host-machine:8000/statefun
maxNumBatchRequests: 10000
transport:
type: io.statefun.transports.v1/async
---
kind: io.statefun.kafka.v1/ingress
spec:
@@ -17,6 +17,8 @@ kind: io.statefun.endpoints.v2/http
spec:
functions: greeter.fns/*
urlPathTemplate: http://greeter-functions:1108/
transport:
type: io.statefun.transports.v1/async
---
kind: io.statefun.kafka.v1/ingress
spec:
@@ -17,6 +17,8 @@ kind: io.statefun.endpoints.v2/http
spec:
functions: com.example/*
urlPathTemplate: http://shopping-cart-functions:1108/
transport:
type: io.statefun.transports.v1/async
---
kind: io.statefun.kafka.v1/ingress
spec:
@@ -68,4 +70,4 @@ spec:
address: kafka:9092
deliverySemantic:
type: exactly-once
transactionTimeoutMillis: 100000
transactionTimeout: 15min
@@ -18,10 +18,10 @@ spec:
functions: java.showcase.fns/*
urlPathTemplate: http://host.testcontainers.internal:1108/
transport:
timeouts:
call: 1day # setting a very high timeout here facilitates the user
# to set breakpoints in the function Java code and explore
# around in the IDE, without StateFun failing an ongoing invocation
type: io.statefun.transports.v1/async
call: 1day # setting a very high timeout here facilitates the user
# to set breakpoints in the function Java code and explore
# around in the IDE, without StateFun failing an ongoing invocation
---
kind: io.statefun.kafka.v1/ingress
spec:
@@ -18,8 +18,7 @@ spec:
functions: example/*
urlPathTemplate: http://functions:8000/statefun
transport:
timeouts:
call: 2min
type: io.statefun.transports.v1/async
---
kind: io.statefun.kafka.v1/ingress
spec:
@@ -38,4 +37,4 @@ spec:
address: kafka:9092
deliverySemantic:
type: exactly-once
transactionTimeoutMillis: 100000
transactionTimeout: 15min
@@ -18,8 +18,7 @@ spec:
functions: showcase/*
urlPathTemplate: http://host-machine:8000/statefun
transport:
timeouts:
call: 2min
type: io.statefun.transports.v1/async
---
kind: io.statefun.kafka.v1/ingress
spec:
@@ -38,4 +37,4 @@ spec:
address: kafka:9092
deliverySemantic:
type: exactly-once
transactionTimeoutMillis: 100000
transactionTimeout: 15min

0 comments on commit dffc594

Please sign in to comment.