apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Munagala Ramanath <...@datatorrent.com>
Subject Re: Is there a way of defining a default partitioner for an operator besides implement partitioner interface
Date Fri, 20 Nov 2015 00:07:50 GMT
You can just set the property:
to com.datatorrent.common.partitioner.StatelessPartitioner:N
where N is the number of desired partitions.

 Is that what you're trying to do ?


On Thu, Nov 19, 2015 at 3:49 PM, Siyuan Hua <siyuan@datatorrent.com> wrote:
> Sometimes I want to separate the Partitioner logic from operator and still
> I want to have default partitioner for the operator (with specifying it
> from application)
> Best,
> Siyuan

View raw message