composite task 를 사용할때 유의점
spring.cloud.task.closecontext-enabled=true 설정을 composite task 를 생성할때 줘야한다.
설정을 안하게 되면 Spring cloud dataflow dashboard 상에 task. 성공실패 등의 정보가 표시가 잘못되는것은 물론
Condition 에 따라서 분기를 하는부분에 문제가 생길수있다.
Composite Task 를 사용할때 사용할수 있는 설정들
- --interval-time-between-checks=1000 states that the Composed Task Runner will wait 1 second between checks to make sure that a task is complete (the default is 10 seconds).
- --split-thread-core-pool-size=4 states that we want up to 4 simulatenous tasks to run at the same time.
- --spring.cloud.task.closecontext-enabled=true states that we want the Spring Context to close when the Composed Task Runner.
'프로그래밍 > spring' 카테고리의 다른 글
[Spring Cloud Dataflow] mariaDB 사용유의점 (0) | 2021.07.27 |
---|---|
spring cloud dataflow 에서 모드 선택 (0) | 2021.07.17 |
tomcat access log (0) | 2021.02.10 |
Spring cloud data flow - local 환경에서 구동 (0) | 2021.01.17 |
Spring Cloud Data Flow (0) | 2021.01.17 |