placement : hostColocation
- type:
rstring
- example:
config placement : hostColocation("someHostColocationId");
- description:
- Any two or more operator instances that
configure hostColocation with the same value must
run on the same host.If the application has user-defined parallelism, you can use the getChannel() and getMaxChannels() SPL built-in functions in this config. For example:
The functions are evaluated when the job is submitted.config placement: hostColocation("AB" + (rstring)getChannel());
- default:
- By default, there are no collocation constraints.