Anybody already used google ControllerService and GCSBucket ?
I don't know how use it to list bucket.
Without NIFI, i've used gsutil and a configuration file how has these parameters
gs_oauth2_refresh_token proxy proxy_port
Any help welcome
I am interested in this question as well...
an example will be highly appreciated
steps I took to get things working... I was trying to access cloud storage from a laptop running linux... ultimate goal was to put files from the laptop to the gcp using nifi.
1. generate a private key in JSON (https://cloud.google.com/storage/docs/authentication#service_accounts)
2. private key (as json file) was loaded onto my local computer
3. made a reference to it in the configure controller service
4. loaded a file onto the gcp bucket and the action was recorded in data provenance
I am new to using NiFi...
I just saw your post about NiFi to GCP. I repeated the same process and the ControllerService showed errors to me:
Failed to invoke@OnEnabled method due to org.apache.nifi.reporting.InitializationException: java.io.lOException: Error reading credentials from stream, 'type' field not specified .java.io.lOException: Error reading credentials from stream, 'type' field not specified
Do you have 'type' field on your credentials json file? Thanks.