Object/Class

org.zalando.kanadi.api

Subscriptions

Related Docs: class Subscriptions | package api

Permalink

object Subscriptions extends Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Subscriptions
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final case class ConnectionClosedCallback(connectionClosedCallback: (ConnectionClosedData) ⇒ Unit) extends Product with Serializable

    Permalink
  2. final case class ConnectionClosedData(occurredAt: OffsetDateTime, subscriptionId: SubscriptionId, oldStreamId: StreamId, cancelledByClient: Boolean) extends Product with Serializable

    Permalink
  3. final case class Cursor(partition: Partition, offset: String, eventType: EventTypeName, cursorToken: CursorToken) extends Product with Serializable

    Permalink
  4. sealed abstract class Errors extends GeneralError

    Permalink
  5. sealed abstract class EventCallback[T] extends AnyRef

    Permalink

  6. final case class EventCallbackData[T](subscriptionEvent: SubscriptionEvent[T], streamId: StreamId, request: HttpRequest, flowId: Option[FlowId]) extends Product with Serializable

    Permalink

    flowId

    The current flowId, if EventCallback.separateFlowId is true then the new flowId will be here else it will use the flowId used when Subscriptions.eventsStreamed is called

  7. final case class EventJsonParsingException(subscriptionEventInfo: SubscriptionEventInfo, jsonParsingException: mdedetrich.akka.stream.support.CirceStreamSupport.JsonParsingException) extends Exception with Product with Serializable

    Permalink
  8. final case class EventStreamContext(flowId: FlowId, subscriptionId: SubscriptionId, streamId: StreamId, subscriptionsClient: Subscriptions) extends Product with Serializable

    Permalink

    flowId

    Current flow id

    subscriptionId

    Current Stream Subscription id

    streamId

    Current Stream Id

    subscriptionsClient

    the current subscription client that is being used

  9. final case class EventStreamSupervisionDecider(privateDecider: (EventStreamContext) ⇒ Decider) extends Product with Serializable

    Permalink
  10. final case class EventTypeStats(eventType: EventTypeName, partitions: List[Partition]) extends Product with Serializable

    Permalink
  11. final case class NakadiSource[T](streamId: StreamId, source: Source[SubscriptionEvent[T], UniqueKillSwitch], request: HttpRequest) extends Product with Serializable

    Permalink

    Nakadi stream represented as an akka-stream Source

  12. final case class StreamConfig(maxUncommittedEvents: Option[Int] = None, batchLimit: Option[Int] = None, streamLimit: Option[Int] = None, batchFlushTimeout: Option[FiniteDuration] = None, streamTimeout: Option[FiniteDuration] = None, streamKeepAliveLimit: Option[Int] = None, commitTimeout: Option[FiniteDuration] = None) extends Product with Serializable

    Permalink

    Configuration for a stream

    Configuration for a stream

    maxUncommittedEvents

    The amount of uncommitted events Nakadi will stream before pausing the stream. When in paused state and commit comes - the stream will resume. Minimal value is 1.

    batchLimit

    Maximum number of SubscriptionEvent's in each chunk (and therefore per partition) of the stream. If 0 or unspecified will buffer Events indefinitely and flush on reaching of batchFlushTimeout

    streamLimit

    Maximum number of SubscriptionEvent's in this stream (over all partitions being streamed in this connection). If 0 or undefined, will stream batches indefinitely. Stream initialization will fail if streamLimit is lower than batchLimit.

    batchFlushTimeout

    Maximum time in seconds to wait for the flushing of each chunk (per partition). If the amount of buffered Events reaches batchLimit before this batchFlushTimeout is reached, the messages are immediately flushed to the client and batch flush timer is reset. If 0 or undefined, will assume 30 seconds.

    streamTimeout

    Maximum time in seconds a stream will live before connection is closed by the server. If 0 or unspecified will stream indefinitely. If this timeout is reached, any pending messages (in the sense of stream_limit) will be flushed to the client. Stream initialization will fail if streamTimeout is lower than batchFlushTimeout.

    streamKeepAliveLimit

    Maximum number of empty keep alive batches to get in a row before closing the connection. If 0 or undefined will send keep alive messages indefinitely.

    commitTimeout

    Maximum amount of seconds that nakadi will be waiting for commit after sending a batch to a client. Setting commit_timeout to 0 is equal to setting it to the maximum allowed value - 60 seconds.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object Cursor extends Serializable

    Permalink
  5. object Errors extends Serializable

    Permalink
  6. object EventCallback

    Permalink
  7. object EventTypeStats extends Serializable

    Permalink
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. implicit def defaultEventStreamSupervisionDecider(implicit executionContext: ExecutionContext): EventStreamSupervisionDecider

    Permalink
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. val logger: LoggerTakingImplicit[FlowId]

    Permalink
    Attributes
    protected
  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped