p

cloudflow

akkastream

package akkastream

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. abstract class AkkaServerStreamlet extends AkkaStreamlet with Server

    An AkkaStreamlet that can listen on a port.

    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.

  2. abstract class AkkaStreamlet extends Streamlet[AkkaStreamletContext]

    Extend from this class to build Akka-based Streamlets.

  3. trait AkkaStreamletContext extends StreamletContext

    Runtime context for AkkaStreamlets, which provides means to create Sources and Sinks respectively for CodeInlets and CodeOutlets.

    Runtime context for AkkaStreamlets, which provides means to create Sources and Sinks respectively for CodeInlets and CodeOutlets. The StreamletContext also contains some lifecycle hooks, like signalReady, onStop and stop and provides access to the streamlet configuration. It also provides the ActorSystem and Materializer that will be used to run the AkkaStreamlet.

  4. final class AkkaStreamletContextImpl extends AkkaStreamletContext

    Implementation of the StreamletContext trait.

    Implementation of the StreamletContext trait.

    Annotations
    @InternalApi()
  5. abstract class AkkaStreamletLogic extends StreamletLogic[AkkaStreamletContext]

    Provides an entry-point for defining the behavior of an AkkaStreamlet.

    Provides an entry-point for defining the behavior of an AkkaStreamlet. Override the run method to implement the specific logic / code that should be executed once the streamlet deployed as part of a running cloudflow application. See RunnableGraphStreamletLogic if you just want to create a RunnableGraph.

  6. trait Clustering extends AnyRef
    Annotations
    @ApiMayChange()
  7. final class KafkaSinkRef[T] extends WritableSinkRef[T]
  8. final class MultiData2[O1, O2] extends AnyRef

    Data class to support sending to multiple outlets from a single originating message.

  9. sealed trait ResetPosition extends AnyRef

    The position to initially start reading from, when using plainSource.

    The position to initially start reading from, when using plainSource.

    Maps to the "auto.offset.reset" Kafka setting with autoOffsetReset.

  10. trait Server extends AnyRef

    Provides containerPort and a getContainerPort() method.

    Provides containerPort and a getContainerPort() method. It returns the TCP port that is opened on the container. A ServerStreamletLogic requires an implementation of this trait (for instance an AkkaServerStreamlet) when it is created.

  11. abstract class ServerStreamletLogic extends AkkaStreamletLogic

    Extends a StreamletLogic.

    Extends a StreamletLogic. provides access to a containerPort so that it is possible to start a TCP server inside an AkkaStreamlet which will be exposed through an endpoint in Kubernetes.

  12. trait WritableSinkRef[T] extends SinkRef[(T, Committable)]

    Extends akka.stream.SinkRef with a write method that can be used to write data directly to the implementation that SinkRef.sink writes to.

    Extends akka.stream.SinkRef with a write method that can be used to write data directly to the implementation that SinkRef.sink writes to. Using the write method can be more convenient, especially when you want to write one value at a time and continue only once the write has completed. The alternative would be to use:

    Source.single(value).runWith(sink)))

    but in that case it is not known when the value has been written.

Value Members

  1. object AkkaStreamletRuntime extends StreamletRuntime with Product with Serializable
  2. object Earliest extends ResetPosition with Product with Serializable

    Automatically reset the offset to the earliest offset.

  3. object Latest extends ResetPosition with Product with Serializable

    Automatically reset the offset to the latest offset.

  4. object MultiData2

Ungrouped