Hi Chaim,

you can take a look on JdbcIO.

You can create any "startup" PCollection on the PBegin, and then you can
can the DoFn based on that.

Regards
JB

On 15/10/2018 13:00, Chaim Turkel wrote:
> Hi,
>   I there a way to write code before the PBegin.
> I am writeing a pipeline to connect to mongo with self signed ssl. I
> need to init the ssl connection of the java before the mongo code. So
> i need to write code before the PBegin but for it to run on each node?
> 
> 
> Chaim
> 

-- 
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to