LeaseGroup

class LeaseGroup @InternalWowApi constructor(val service: String, val context: String)

The lease group of one bounded context in one service: the nodes of service share the partitions of context's log, and command routing and every subscription of the context share their owners. A service that hosts several contexts has one group, with its own partitions and leases, per context.

The partitions of another context's published topic that the service's subscriptions read are leased the same way, in the group topic names, (service, "topic:<name>").

Constructors

Link copied to clipboard
constructor(service: String, context: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

The group as the lease store keys it: service/context.

Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String