Project: springxd
Issue XD-1639: Add 'xd-container' requirements and rank expressions
Just as a stream or a job may state its needs and preferences for container assignment using the 'criteria' or 'rank' expressions, the xd-containers themselves can specify needs and preferences using the same 'critera' and 'rank' expressions. These would be sent to the xd-admin server and used in the ContainerMatcher, but is evaluated using the 'stream' or 'job' as the evaluation context. Examples * Requirements ** Require that this container only runs streams ** Never run jobs belonging to groupA * Rank ** Prefer to run groupB's job.
Story points: 10