Open Pyohwan opened 4 years ago
https://dataflow.spring.io/docs/installation/kubernetes/
kubectl
로 Helm chrart 사용하여 Kubernetes 에 설치한다.
https://dataflow.spring.io/docs/concepts/architecture/
두개의 메인 컴포넌트가 있음
Spring Cloud Stream framework 는 long-lived 이고 Spring Cloud Task or Spring Batch frameworks 는 short-lived
https://dataflow.spring.io/docs/concepts/batch-jobs/
배치 프로세싱은 interaction 이나 interruption 없이 유한한 양의 데이터를 처리하는것으로 정의한다. 배치 프로세싱을 구현하는 애플리케이션을 ephemeral or short-lived apps 이라 한다. 배치 프로세싱의 예는 빌링 애플리케이션이 있다.
이 애플리케이션은 매일 밤 실행되며, flat 파일에서 고객 사용량 데이터를 읽고, 해당 레코드에 대한 가격 정보를 생성하여, 청구 정보를 청구 테치블에 insert 한다. 모든 사용량 데이터를 읽고 가격을 책정하고 결과가 청구 테이블에 insert 되면 애플리케이션이 중지된다.
Spring Batch and Spring Cloud Task 으로 애플리케이션을 작성한 후에, 애플리케이션을 어떻게 시작할까? Spring Cloud Data Flow 가 ad-hoc request or a batch-job scheduler 을 통해 배치 애플리케이션 시작 가능하다.
https://dataflow.spring.io/docs/concepts/monitoring/
Data Flow 메트릭 아키텍쳐는 가장 널리 사용되는 모니터링 시스템인 Micrometer 라이브러리 중심으로 설계 되었다.
https://dataflow.spring.io/docs/batch-developer-guides/
Getting Started with Task Processing
https://spring.io/projects/spring-cloud-dataflow Kubernetes 에서 Microservice 기반 스트리밍 및 배치로 데이터 처리 스트리밍, 배치 데이터 파이프라인을 위한 복잡한 토폴리지를 작성하는 도구를 제공 데이터 파이프라인은 Spring Cloud Stream, Spring Cloud Tsk microservice 프레임워크를 사용한 스프링 부트 앱으로 구성된다.
Features