Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

google-bigquery-sink credential file didn't read from my local #959

Closed
habibtalib opened this issue Jul 4, 2022 · 2 comments
Closed

google-bigquery-sink credential file didn't read from my local #959

habibtalib opened this issue Jul 4, 2022 · 2 comments

Comments

@habibtalib
Copy link

Hi,

I tried to configure credentialsFileLocation based on my local path. however it can't find.
I tried to figure out to mount volume from configmap to read key file from pod. But there is no document helps.

apiVersion: camel.apache.org/v1alpha1 kind: KameletBinding metadata: name: google-bigquery-sink-binding spec: source: ref: kind: KafkaTopic apiVersion: kafka.strimzi.io/v1beta1 name: test template: sink: ref: kind: Kamelet apiVersion: camel.apache.org/v1alpha1 name: google-bigquery-sink properties: credentialsFileLocation: ./bigquery-key.json dataset: test projectId: blacksmith-develop table: test errorHandler: log: parameters: maximumRedeliveries: 3 redeliveryDelay: 2000

The error is :

java.io.FileNotFoundException: ./bigquery-key.json (No such file or directory)

@oscerd
Copy link
Contributor

oscerd commented Aug 26, 2022

I suppose you're running this in a container, did you mount the volume with the credentials file? Because it doesn't seems so.

@oscerd
Copy link
Contributor

oscerd commented Sep 12, 2022

Please re-open in case you need more help.

@oscerd oscerd closed this as not planned Won't fix, can't repro, duplicate, stale Sep 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants