5.4. Camel K Serverless 이벤트 스트리밍 통합 배포
이 튜토리얼에서는 이벤트 중심 아키텍처로 Knative Eventing에서 Camel K 및 OpenShift Serverless를 사용하는 방법을 보여줍니다.
이 튜토리얼에서는 AMQ Broker 클러스터가 있는 AMQ Streams 클러스터에 Knative를 사용하여 Camel K 및 Serverless를 설치하는 방법과 이벤트 스트리밍 프로젝트를 배포하여 글로벌 위험 경고 데모 애플리케이션을 실행하는 방법을 보여줍니다.
사전 요구 사항
- GitHub의 튜토리얼 readme를 참조하십시오: https://github.com/openshift-integration/camel-k-example-event-streaming/tree/1.6.x.
Camel K 및 OpenShift Serverless를 설치하려면 OpenShift 클러스터에 대한 클러스터 관리자 액세스 권한이 있어야 합니다.
OpenShift 클러스터에 필요한 추가 Operator를 설치하려면 튜토리얼 readme의 지침을 따라야 합니다.
- AMQ Streams Operator
- AMQ Broker Operator
- VS(Visual Studio) 코드는 선택 사항이지만 최상의 개발자 환경에 권장됩니다. Camel K 개발 환경 설정을 참조하십시오.
절차
튜토리얼 Git 리포지토리를 복제합니다.
git clone git@github.com:openshift-integration/camel-k-example-event-streaming.git
$ git clone git@github.com:openshift-integration/camel-k-example-event-streaming.gitCopy to Clipboard Copied! Toggle word wrap Toggle overflow -
VS Code에서 파일
Open Folder camel-k-example-event-streaming 을 선택합니다. -
VS Code 탐색 트리에서
readme.md파일을 클릭합니다. 그러면 VS Code에서 새 탭이 열리고 튜토리얼 지침을 표시합니다. 튜토리얼의 지침을 따르십시오.
또는 VS Code가 설치되어 있지 않은 경우 Camel K 이벤트 스트림 통합을 배포하여 명령을 수동으로 입력할 수 있습니다.