2017-12-12 8 views
1
로깅 Python SDK을 사용하여 새 싱크를 만들려고 할 때 다음과 같은 오류를 받고 있어요

:이 오류를 받고 있어요 왜설정 방법`uniqueWriterIdentity = TRUE '싱크에 작성

google.gax.errors.RetryError: RetryError(Exception occurred in retry method that was not classified as transient, caused by <_Rendezvous of RPC that terminated with (StatusCode.INVALID_ARGUMENT, The destination project must be the same as the sink's project. Use uniqueWriterIdentity=true to allow cross project exports.)>)

내가 완전히 이해 (나는 싱크 크로스 프로젝트를 만들고있다.) 그러나 나는 을 here과 같이 설정할 수있는 곳을보고 있지 않다.

무엇이 누락 되었습니까?

sink = logging.Client(project=project_id).sink(
      'name', 
      'resource.type:*', 
      'bigquery.googleapis.com/projects/..') 
sink.create() 
+0

작가의 정체성에 따라 추가되었습니다 –

답변