c

cloudflow.akkastream

AkkaStreamletContextImpl

final class AkkaStreamletContextImpl extends AkkaStreamletContext

Implementation of the StreamletContext trait.

Annotations
@InternalApi()
Source
AkkaStreamletContextImpl.scala
Linear Supertypes
AkkaStreamletContext, StreamletContext, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AkkaStreamletContextImpl
  2. AkkaStreamletContext
  3. StreamletContext
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AkkaStreamletContextImpl(streamletDefinition: StreamletDefinition, sys: ActorSystem)

Type Members

  1. case class MountedPathUnavailableException extends Exception with Product with Serializable
    Definition Classes
    StreamletContext

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def alive(localMode: Boolean): Unit

    Marks the streamlet pod "alive" for Kubernetes.

    Marks the streamlet pod "alive" for Kubernetes.

    Definition Classes
    AkkaStreamletContextImplAkkaStreamletContext
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  7. def committableSink[T](committerSettings: CommitterSettings): Sink[(T, Committable), NotUsed]
  8. def committableSink[T](outlet: CodecOutlet[T], committerSettings: CommitterSettings): Sink[(T, Committable), NotUsed]
  9. def config: Config
    Definition Classes
    AkkaStreamletContextImpl → StreamletContext
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def findTopicForPort(port: StreamletPort): Topic
    Definition Classes
    StreamletContext
  13. def flexiFlow[T](outlet: CodecOutlet[T]): Flow[(Seq[_ <: T], Committable), (Unit, Committable), NotUsed]
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. def getMountedPath(volumeMount: VolumeMount): Path
    Definition Classes
    StreamletContext
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. val killSwitch: SharedKillSwitch
    Attributes
    protected
    Definition Classes
    AkkaStreamletContext
  19. def metricTags(): Map[String, String]
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. def onStop(f: () ⇒ Future[Dun]): Unit

    Registers a callback, which is called when the streamlet is stopped.

    Registers a callback, which is called when the streamlet is stopped. It is usually used to close resources that have been created in the streamlet.

    Definition Classes
    AkkaStreamletContext
  24. def plainSink[T](outlet: CodecOutlet[T]): Sink[T, NotUsed]
  25. def plainSource[T](inlet: CodecInlet[T], resetPosition: ResetPosition = Latest): Source[T, NotUsed]
  26. def ready(localMode: Boolean): Unit

    Marks the streamlet pod "ready" for Kubernetes.

    Marks the streamlet pod "ready" for Kubernetes.

    Definition Classes
    AkkaStreamletContextImplAkkaStreamletContext
  27. def runtimeBootstrapServers(topic: Topic): String
    Definition Classes
    StreamletContext
  28. def shardedPlainSource[T, M, E](inlet: CodecInlet[T], shardEntity: Entity[M, E], resetPosition: ResetPosition = Latest, kafkaTimeout: FiniteDuration = 10.seconds): Source[T, Future[NotUsed]]
  29. def shardedSourceWithCommittableContext[T, M, E](inlet: CodecInlet[T], shardEntity: Entity[M, E], kafkaTimeout: FiniteDuration = 10.seconds): SourceWithContext[T, CommittableOffset, Future[NotUsed]]
  30. def signalReady(): Boolean

    Signals that the streamlet is ready to process data.

    Signals that the streamlet is ready to process data.

    When a streamlet is run using AkkaStreamletTestkit.run, a StreamletExecution is returned. signalReady completes the ready future. ready can be used for instance to wait for a Server to signal that it is ready to accept requests.

    returns

    true if and only if successfully signalled. Otherwise false.

    Definition Classes
    AkkaStreamletContextImplAkkaStreamletContext
  31. def sinkRef[T](outlet: CodecOutlet[T]): WritableSinkRef[T]

    Creates a SinkRef to write to, for the specified CodecOutlet

    Creates a SinkRef to write to, for the specified CodecOutlet

    outlet

    the specified CodecOutlet

    returns

    the WritableSinkRef created

    Definition Classes
    AkkaStreamletContextImplAkkaStreamletContext
  32. def sourceWithCommittableContext[T](inlet: CodecInlet[T]): SourceWithCommittableContext[T]
  33. def stop(): Future[Dun]

    Stops the streamlet.

    Stops the streamlet.

    Definition Classes
    AkkaStreamletContextImplAkkaStreamletContext
  34. def stopOnException(nonFatal: Throwable): Unit

    Stops the streamlet knowing an exception occured.

    Stops the streamlet knowing an exception occured.

    Definition Classes
    AkkaStreamletContextImplAkkaStreamletContext
  35. final def streamletConfig: Config
    Definition Classes
    StreamletContext
  36. val streamletExecution: StreamletExecution
  37. def streamletRef: String
    Definition Classes
    StreamletContext
  38. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  39. implicit val system: ActorSystem

    The system in which the AkkaStreamlet will be run.

    The system in which the AkkaStreamlet will be run.

    Definition Classes
    AkkaStreamletContextImplAkkaStreamletContext
  40. def toString(): String
    Definition Classes
    AnyRef → Any
  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  43. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. object KafkaControls

    See https://doc.akka.io/docs/alpakka-kafka/current/consumer.html#controlled-shutdown

    See https://doc.akka.io/docs/alpakka-kafka/current/consumer.html#controlled-shutdown

    Annotations
    @InternalApi()

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated
  2. def sourceWithOffsetContext[T](inlet: CodecInlet[T]): SourceWithOffsetContext[T]
    Definition Classes
    AkkaStreamletContextImplAkkaStreamletContext
    Annotations
    @deprecated
    Deprecated

    (Since version 1.3.4) Use sourceWithCommittableContext

Inherited from AkkaStreamletContext

Inherited from StreamletContext

Inherited from AnyRef

Inherited from Any

Ungrouped