Hi Lucas!
Can you share more information about your use case? Java has JdbcIO. Maybe
that's all you need? Or perhaps you're using Python SDK?
Best
-P.

On Fri, Sep 27, 2019 at 3:08 PM Eugene Kirpichov <[email protected]>
wrote:

> Hi Lucas,
> Any reason why you can't use JdbcIO?
> You almost certainly should *not* use BoundedSource, nor Splittable DoFn
> for this. BoundedSource is obsolete in favor of assembling your connector
> from regular transforms and/or using an SDF, and SDF is an extremely
> advanced feature whose primary audience is Beam SDK authors.
>
> On Fri, Sep 27, 2019 at 2:52 PM Lucas Magalhães <
> [email protected]> wrote:
>
>> Hi guys.
>>
>> I'm new on apache Beam and o would like some help to undestand some
>> behaviours.
>>
>> 1. Is there some performance issue when i'm reading data from a
>> relational database using a ParDo instead of BoundedSource?
>>
>> 2. If I'm going to implement a BoundedSource how does Beam manage the
>> connection? I need to open and close in every method, like split, read,
>> estimete size and so on??
>>
>> 3. I read something about splittable dofn but i didnt fine instructions
>> about to How implement. Has anyone have something about ir?
>>
>> Thanks
>>
>>
>>
>>

Reply via email to