반응형 2020/098 [springboot, gcp연동] GOOGLE_APPLICATION_CREDENTIALS 파일로 설정하는 2가지 방법 사용안내 공식 홈페이지 https://cloud.google.com/bigquery/docs/reference/libraries BigQuery API 클라이언트 라이브러리 | Google Cloud C#, Go, 자바, Node.js, PHP, Python, Ruby에서 BigQuery API와의 상호작용에 대한 정보 cloud.google.com 위 사이트에서 소개하는 방법은 환경설정하는 방식인데, 환경설정은 변수가 많기 때문에 프로젝트 내에 파일을 삽입하기로 했다. 인증.json파일 다운로드 했다는 가정하에 글이다. application.properties를 이용해 다음 2가지로 설정가능하다. 1) 절대경로 가동하는 컴퓨터 환경에서 절대경로를 이용해 인식시키는 방법이다 # 절대경로 #spring.c.. 2020. 9. 2. [airflow] mac에서 DAG실행 시 오류날 때 airflow로 dag를 수행하는데 test를 수행하면 잘 되던것이 web이나 trigger로 실행하면 다음과 같이 에러가 발생한다. 찾고 찾다가 다음의 사이트를 발견했다. https://stackoverflow.com/questions/59821777/airflow-task-running-tweepy-exits-with-return-code-6 Airflow task running tweepy exits with return code -6 I have a simple Airflow DAG which has only one task - stream_from_twitter_to_kafka Here is the code for the DAG: default_args = { "owner": "me", "dep.. 2020. 9. 1. 이전 1 2 다음 반응형