ServiceCorrelationScheme Enum

Definition

Indicates that this service is associated with another service, and describes the relationship with that service.

public enum ServiceCorrelationScheme
type ServiceCorrelationScheme = 
Public Enum ServiceCorrelationScheme
Inheritance
ServiceCorrelationScheme

Fields

Affinity 1

Indicates that this service has an affinity relationship with another service. Provided for backwards compatibility, consider preferring the Aligned or NonAlignedAffinity options.

AlignedAffinity 2

Aligned affinity ensures that the primaries of the partitions of the affinitized services are collocated on the same nodes. This is the default and is the same as selecting the “Affinity” scheme.

Invalid 0

An invalid correlation scheme. Cannot be used.

NonAlignedAffinity 3

Non-Aligned affinity guarantees that all replicas of each service will be placed on the same nodes. Unlike Aligned Affinity, this does not guarantee that replicas of particular role will be collocated.

Remarks

Applies to