ServiceCorrelationScheme

enum ServiceCorrelationScheme : Enum<ServiceCorrelationScheme> , ConvertibleToJava<ServiceCorrelationScheme>

The ServiceCorrelationScheme which describes the relationship between this service and the service specified via ServiceName.

Entries

Link copied to clipboard

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.

Link copied to clipboard

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.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
val javaValue: ServiceCorrelationScheme
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun toJava(): ServiceCorrelationScheme
Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.