Waiting for engine...
Skip to main content

EventStreamsSubscriptionType

No description

enum EventStreamsSubscriptionType {
NONE
FAILOVER
EXCLUSIVE
SHARED
KEY_SHARED
}

Values

EventStreamsSubscriptionType.NONE

No subscription exists

EventStreamsSubscriptionType.FAILOVER

Multiple consumers can attach to the same subscription, but only one receives messages from that subscription for each topic or topic partition.

EventStreamsSubscriptionType.EXCLUSIVE

Only a single consumer is allowed to attach to the subscription. If multiple consumers subscribe to a topic using the same subscription, an error occurs.

EventStreamsSubscriptionType.SHARED

Multiple consumers can attach to the same subscription. Messages are delivered in a round robin distribution across consumers, and any given message is delivered to only one consumer.

EventStreamsSubscriptionType.KEY_SHARED

Multiple consumers can attach to the same subscription. Messages are delivered in a distribution across consumers and message with same key or same ordering key are delivered to only one consumer. No matter how many times the message is re-delivered, it is delivered to the same consumer. When a consumer connected or disconnected will cause served consumer change for some key of message.

Member Of

EventStreamsSubscription object

On this Page