seoyeong200 / Book-data-Pipeline

책 줄거리를 기반으로 비슷한 책을 추천해주는 서비스를 위한 데이터 파이프라인입니다. 도커 환경에서 파이프라인을 구성하여 스파크를 사용해 배치 데이터를 처리합니다.
2 stars 0 forks source link

feature : api #16

Closed seoyeong200 closed 1 month ago

seoyeong200 commented 2 months ago
spark-postgresql connection

**note that hostname of jdbc connection url is postgreDB(not localhost), due to 'localhost' points to the container itself which execute spark application, not the postgresql server. it's due to the characteristic of docker compose, it automatically places all services on the same network.

Screenshot 2024-06-03 at 9 11 29 PM