Skip to content
scalive
Menu
ConnectingLiveReconnectingOffline
GitHub
e

SubscriptionFailed

enum SubscriptionFailed(lifecycle: ConnectedLifecycleContext, resourceId: Long, delivery: SubscriptionDelivery, error: LifecycleError) extends LifecycleEvent

A managed subscription stream died with a defect.

Scalive stops that subscription and keeps the lifecycle running.

Parameters

lifecycle

The lifecycle that owns the subscription.

resourceId

The runtime ID of the subscription, unrelated to its SubscriptionKey.

delivery

The delivery mode of the subscription.

error

The failure, classified as SubscriptionDefect, with the defect as its cause.

Defined by scalive.LifecycleEvent.SubscriptionFailed. View source (scalive/api/src/scalive/LifecycleObserver.scala:489-493)

Values4

delivery

val delivery: SubscriptionDelivery

The delivery mode of the subscription.

Defined by scalive.LifecycleEvent.SubscriptionFailed.delivery. View source (scalive/api/src/scalive/LifecycleObserver.scala:492-492)

error

val error: LifecycleError

The failure, classified as SubscriptionDefect, with the defect as its cause.

Defined by scalive.LifecycleEvent.SubscriptionFailed.error. View source (scalive/api/src/scalive/LifecycleObserver.scala:493-493)

lifecycle

val lifecycle: ConnectedLifecycleContext

The lifecycle that owns the subscription.

Defined by scalive.LifecycleEvent.SubscriptionFailed.lifecycle. View source (scalive/api/src/scalive/LifecycleObserver.scala:490-490)

resourceId

val resourceId: Long

The runtime ID of the subscription, unrelated to its SubscriptionKey.

Defined by scalive.LifecycleEvent.SubscriptionFailed.resourceId. View source (scalive/api/src/scalive/LifecycleObserver.scala:491-491)