ClusterPartitioner requires a transformation (which can be written in both CTL and Java) unless Partition key or Ranges is defined.
See Java Interfaces for ClusterPartitioner for more information about the interface.
Remember that this component sends each record through the connected output port whose number is equal to the value returned by the transformation (Return Values of Transformations). Mapping does not need to be done, records are mapped automatically.
Records are sent through these virtual ports to Cluster nodes.