Hi Juan!

I've recently replaced GCS copy with rewrite:
https://github.com/apache/beam/pull/7682
It should be available in the next Beam release (2.11).

On Wed, Feb 20, 2019 at 7:43 AM Juan Carlos Garcia <[email protected]>
wrote:

> Sorry, i hit send before verifying the right name of the method:
>
> The correct method name is: *enqueueCopy*
>
> On Wed, Feb 20, 2019 at 4:39 PM Juan Carlos Garcia <[email protected]>
> wrote:
>
>> For anyone interested on the same while waiting for KMS support, just
>> place the class on your own project
>> *org.apache.beam.sdk.util.GcsUtil *
>>
>> Look / modify the *enqueCopy *method and replace the 
>> *storageClient.objects().copy(....)
>> *with a *storageClient.objects().rewrite(....) , add the corresponding
>> callback *and it should works as expected.
>>
>> Cheers!
>>
>>
>> On Wed, Feb 20, 2019 at 11:11 AM Juan Carlos Garcia <[email protected]>
>> wrote:
>>
>>> Hi Folks,
>>>
>>> Is there any discussion going on regarding the support to writes to GCP
>>> bucket protected with KMS ?
>>>
>>> Thanks and regards,
>>> --
>>>
>>> JC
>>>
>>>
>>
>> --
>>
>> JC
>>
>>
>
> --
>
> JC
>
>

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to