You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by Roman Khachatryan <ro...@apache.org> on 2021/12/10 09:48:08 UTC

Re: broadcast() without arguments

Hello,

The broadcast() without arguments can be used the same way as a
regular data stream, i.e.  regular transformations can be applied to
it. The difference is that every element will be sent to all
downstream subtasks and not just one.

The difference with broadcast() with arguments is that the latter only
allows to connect the broadcasted stream with another one, for example
to match the elements from two streams against each other.

Regards,
Roman

On Fri, Dec 10, 2021 at 6:37 AM Alexey Trenikhun <ye...@msn.com> wrote:
>
> Hello,
> How broadcast() method without arguments should be used ?
>
> Thanks,
> Alexey

Re: broadcast() without arguments

Posted by Alexey Trenikhun <ye...@msn.com>.
Thank you Roman
________________________________
From: Roman Khachatryan <ro...@apache.org>
Sent: Friday, December 10, 2021 1:48:08 AM
To: Alexey Trenikhun <ye...@msn.com>
Cc: Flink User Mail List <us...@flink.apache.org>
Subject: Re: broadcast() without arguments

Hello,

The broadcast() without arguments can be used the same way as a
regular data stream, i.e.  regular transformations can be applied to
it. The difference is that every element will be sent to all
downstream subtasks and not just one.

The difference with broadcast() with arguments is that the latter only
allows to connect the broadcasted stream with another one, for example
to match the elements from two streams against each other.

Regards,
Roman

On Fri, Dec 10, 2021 at 6:37 AM Alexey Trenikhun <ye...@msn.com> wrote:
>
> Hello,
> How broadcast() method without arguments should be used ?
>
> Thanks,
> Alexey