c

cloudflow.akkastream

AkkaServerStreamlet

abstract class AkkaServerStreamlet extends AkkaStreamlet with Server

An AkkaStreamlet that can listen on a port. Using this trait instead of the AkkaStreamlet ensures that the streamlet will get an endpoint in Kubernetes. This trait mixes on the Server trait which is required for using a ServerStreamletLogic. The ServerStreamletLogic provides a containerPort and a getContainerPort() method. It returns the TCP port that is opened on the container. Listen on all interfaces ("0.0.0.0") and use the port returned by containerPort to start a TCP server that will be exposed by an endpoint in Kubernetes.

Linear Supertypes
Server, AkkaStreamlet, Streamlet[AkkaStreamletContext], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AkkaServerStreamlet
  2. Server
  3. AkkaStreamlet
  4. Streamlet
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AkkaServerStreamlet()

Abstract Value Members

  1. abstract def createLogic(): AkkaStreamletLogic

    Implement this method to define the logic that this streamlet should execute once it is run.

    Implement this method to define the logic that this streamlet should execute once it is run.

    Attributes
    protected
    Definition Classes
    AkkaStreamlet
  2. abstract def shape(): StreamletShape
    Definition Classes
    Streamlet

Concrete 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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def attributes: Set[StreamletAttribute]
    Attributes
    protected[cloudflow]
    Definition Classes
    Server
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. def configParameters: IndexedSeq[ConfigParameter]
    Definition Classes
    Streamlet
  8. final def containerPort: Int

    Returns a TCP port on the container that a streamlet can listen on.

    Returns a TCP port on the container that a streamlet can listen on.

    Definition Classes
    Server
  9. implicit final def context: AkkaStreamletContext
    Attributes
    protected
    Definition Classes
    Streamlet
  10. final def createContext(config: Config): AkkaStreamletContext

    Initialize the streamlet from the config.

    Initialize the streamlet from the config. In some cases (e.g. the tests) we may pass a context directly to be used instead of building it from the config.

    Attributes
    protected
    Definition Classes
    AkkaStreamlet → Streamlet
  11. def customAttributes: Set[StreamletAttribute]
    Definition Classes
    Streamlet
  12. def defineConfigParameters(): Array[ConfigParameter]
    Definition Classes
    Streamlet
  13. def defineCustomAttributes(): Array[StreamletAttribute]
    Definition Classes
    Streamlet
  14. def defineVolumeMounts(): Array[VolumeMount]
    Definition Classes
    Streamlet
  15. def description: String
    Definition Classes
    Streamlet
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  18. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. final def getContainerPort(): Int

    Java API Returns a TCP port on the container that a streamlet can listen on.

    Java API Returns a TCP port on the container that a streamlet can listen on.

    Definition Classes
    Server
  21. final def getContext(): AkkaStreamletContext
    Attributes
    protected
    Definition Classes
    Streamlet
  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. final def inlets: IndexedSeq[Inlet]
    Definition Classes
    Streamlet
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. final def jsonDescriptor: String
    Definition Classes
    Streamlet
  26. def labels: IndexedSeq[String]
    Definition Classes
    Streamlet
  27. lazy val log: Logger
    Attributes
    protected
    Definition Classes
    Streamlet
    Annotations
    @transient()
  28. def logStartRunnerMessage(buildInfo: String): Unit
    Definition Classes
    AkkaStreamlet → Streamlet
  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. final def outlets: IndexedSeq[Outlet]
    Definition Classes
    Streamlet
  33. final def run(context: AkkaStreamletContext): StreamletExecution
    Definition Classes
    AkkaStreamlet → Streamlet
  34. final val runtime: AkkaStreamletRuntime.type
    Definition Classes
    AkkaStreamlet → Streamlet
  35. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  36. def toString(): String
    Definition Classes
    AnyRef → Any
  37. def volumeMounts: IndexedSeq[VolumeMount]
    Definition Classes
    Streamlet
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Server

Inherited from AkkaStreamlet

Inherited from Streamlet[AkkaStreamletContext]

Inherited from AnyRef

Inherited from Any

Ungrouped