共用方式為


ServiceCorrelationScheme Class

Definition

Defines values for ServiceCorrelationScheme.

public static class ServiceCorrelationScheme
type ServiceCorrelationScheme = class
Public Class ServiceCorrelationScheme
Inheritance
ServiceCorrelationScheme

Fields

AlignedAffinity

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. The value is 0.

NonAlignedAffinity

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. The value is 1.

Applies to