placement : host
- type:
-
rstring
with IP address or host name. Each operator instance can have at most one host subconfg. - example:
config placement : host("server1.teracloud.com");
- description:
- Placement of operator instance, specifies
on which host it runs. The following table describes the various forms
for specifying the host subconfig:
Table 1. Formats for specifying the host subconfig. Format Description host("10.4.40.83");
The host is specified as an IP address. host("foo.test.teracloud.com");
The host is specified as a host name. host(MyPool[5]);
The host is specified as a fixed offset in a pool of hosts. host(MyPool);
A host pool is specified and Teracloud® Streams picks a host from the pool at run time. Note:- A fixed offset can be specified only for sized pools.
- If your application has user-defined parallelism, you can use the replicateHostTags element in the parallel annotation to influence the placement of operator instances in host pools.
- default:
- Place the operator instance on any host in the default pool.