카테고리 없음

Apache Flink로 하는 스트림 프로세싱 - 4장(예제 실행 환경 셋팅)

즐겁게살자 2025. 1. 7. 18:53
728x90

책의 예제 IDE(인텔리제이) 작동 설정

 

 

GitHub - streaming-with-flink/examples-scala: Stream Processing with Apache Flink - Scala Examples

Stream Processing with Apache Flink - Scala Examples - streaming-with-flink/examples-scala

github.com

 

  • 인텔리 제이 프로젝트 설정 (scala 개발 환경 설정)
    • scala sdk 다운받기
      • Project Structure > Platform Settings > Global Libraries 
        • 예제 코드의 pom.xml 설정의  스칼라 버전이 2.12로 되어 있음.

        • + 버튼 누르고 scala-sdk-2.12.20 다운받음

 

 

  • java sdk 1.8로 맞춰줌.  (코드 실행시 오류가 나서 검색해 보니 scala 2.12 버전은 java9 이상에서 정상 작동이 안될 수 있다고 함)
    • Project Structure > Platform Settings > SDKs > 1.8
    • Settings... > Compiler > Scala Compiler > Scala Compile Server > JDK > 1.8