abstract class SplitterLogic[I, L, R] extends RunnableGraphStreamletLogic
A StreamletLogic that splits elements based on a flow of type FlowWithOffsetContext[I, Either[L, R]]
.
- Annotations
- @deprecated
- Deprecated
(Since version 1.3.1) Use
Splitter.sink
instead.
- Alphabetic
- By Inheritance
- SplitterLogic
- RunnableGraphStreamletLogic
- AkkaStreamletLogic
- StreamletLogic
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new SplitterLogic(inlet: CodecInlet[I], leftOutlet: CodecOutlet[L], rightOutlet: CodecOutlet[R])(implicit context: AkkaStreamletContext)
Abstract Value Members
- abstract def flow: FlowWithOffsetContext[I, Either[L, R]]
Defines the flow that receives elements from the inlet.
Defines the flow that receives elements from the inlet. The offset associated with every output element is automatically committed using at-least-once semantics.
- Annotations
- @deprecated
- Deprecated
(Since version 1.3.1) Use
Splitter.sink
instead.
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def clusterSharding(): ClusterSharding
- Definition Classes
- AkkaStreamletLogic
- def committableSink[T]: Sink[(T, Committable), NotUsed]
- Definition Classes
- AkkaStreamletLogic
- def committableSink[T](committerSettings: CommitterSettings): Sink[(T, Committable), NotUsed]
- Definition Classes
- AkkaStreamletLogic
- def committableSink[T](outlet: CodecOutlet[T], committerSettings: CommitterSettings): Sink[(T, Committable), NotUsed]
- Definition Classes
- AkkaStreamletLogic
- final def config: Config
- Definition Classes
- AkkaStreamletLogic
- implicit val context: AkkaStreamletContext
- Definition Classes
- AkkaStreamletLogic → StreamletLogic
- val defaultCommitterSettings: CommitterSettings
- Definition Classes
- AkkaStreamletLogic
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- implicit final val executionContext: ExecutionContextExecutor
- Definition Classes
- AkkaStreamletLogic
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getCommittableSink[T](): Sink[Pair[T, Committable], NotUsed]
- Definition Classes
- AkkaStreamletLogic
- def getCommittableSink[T](committerSettings: CommitterSettings): Sink[Pair[T, Committable], NotUsed]
- Definition Classes
- AkkaStreamletLogic
- def getCommittableSink[T](outlet: CodecOutlet[T]): Sink[Pair[T, Committable], NotUsed]
- Definition Classes
- AkkaStreamletLogic
- def getCommittableSink[T](outlet: CodecOutlet[T], committerSettings: CommitterSettings): Sink[Pair[T, Committable], NotUsed]
- Definition Classes
- AkkaStreamletLogic
- final def getConfig(): Config
- Definition Classes
- AkkaStreamletLogic
- def getContext(): AkkaStreamletContext
- Definition Classes
- AkkaStreamletLogic → StreamletLogic
- def getDefaultCommitterSettings(): CommitterSettings
- Definition Classes
- AkkaStreamletLogic
- def getExecutionContext(): ExecutionContextExecutor
- Definition Classes
- AkkaStreamletLogic
- final def getMountedPath(volumeMount: VolumeMount): Path
- Definition Classes
- AkkaStreamletLogic
- def getPlainSink[T](outlet: CodecOutlet[T]): Sink[T, NotUsed]
- Definition Classes
- AkkaStreamletLogic
- def getPlainSource[T](inlet: CodecInlet[T], resetPosition: ResetPosition): Source[T, NotUsed]
- Definition Classes
- AkkaStreamletLogic
- def getPlainSource[T](inlet: CodecInlet[T]): Source[T, NotUsed]
- Definition Classes
- AkkaStreamletLogic
- def getShardedPlainSource[T, M, E](inlet: CodecInlet[T], shardEntity: Entity[M, E], resetPosition: ResetPosition, kafkaTimeout: FiniteDuration): Source[T, Future[NotUsed]]
- Definition Classes
- AkkaStreamletLogic
- Annotations
- @ApiMayChange()
- def getShardedPlainSource[T, M, E](inlet: CodecInlet[T], shardEntity: Entity[M, E], kafkaTimeout: FiniteDuration): Source[T, Future[NotUsed]]
- Definition Classes
- AkkaStreamletLogic
- Annotations
- @ApiMayChange()
- def getShardedSourceWithCommittableContext[T, M, E](inlet: CodecInlet[T], shardEntity: Entity[M, E], kafkaTimeout: FiniteDuration): SourceWithContext[T, Committable, Future[NotUsed]]
- Definition Classes
- AkkaStreamletLogic
- Annotations
- @ApiMayChange()
- final def getSinkRef[T](outlet: CodecOutlet[T]): WritableSinkRef[T]
- Definition Classes
- AkkaStreamletLogic
- def getSourceWithCommittableContext[T](inlet: CodecInlet[T]): SourceWithContext[T, Committable, _]
- Definition Classes
- AkkaStreamletLogic
- final def getStreamletConfig(): Config
- Definition Classes
- AkkaStreamletLogic
- final def getStreamletRef(): String
- Definition Classes
- AkkaStreamletLogic
- def getSystem(): ActorSystem
- Definition Classes
- AkkaStreamletLogic
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def plainSink[T](outlet: CodecOutlet[T]): Sink[T, NotUsed]
- Definition Classes
- AkkaStreamletLogic
- def plainSource[T](inlet: CodecInlet[T], resetPosition: ResetPosition): Source[T, NotUsed]
- Definition Classes
- AkkaStreamletLogic
- def run(): Unit
- Definition Classes
- RunnableGraphStreamletLogic → AkkaStreamletLogic
- final def runGraph[T](graph: RunnableGraph[T]): T
- Definition Classes
- AkkaStreamletLogic
- final def runGraph[T](graph: RunnableGraph[T]): T
- Definition Classes
- AkkaStreamletLogic
- def runnableGraph(): RunnableGraph[NotUsed]
Implements at-least-once semantics while reading from inlet and writing to the outlet
Implements at-least-once semantics while reading from inlet and writing to the outlet
- Definition Classes
- SplitterLogic → RunnableGraphStreamletLogic
- def shardedPlainSource[T, M, E](inlet: CodecInlet[T], shardEntity: Entity[M, E], resetPosition: ResetPosition, kafkaTimeout: FiniteDuration): Source[T, Future[NotUsed]]
- Definition Classes
- AkkaStreamletLogic
- Annotations
- @ApiMayChange()
- def shardedSourceWithCommittableContext[T, M, E](inlet: CodecInlet[T], shardEntity: Entity[M, E], kafkaTimeout: FiniteDuration): SourceWithContext[T, CommittableOffset, Future[NotUsed]]
- Definition Classes
- AkkaStreamletLogic
- Annotations
- @ApiMayChange()
- final def signalReady(): Boolean
- Definition Classes
- AkkaStreamletLogic
- final def sinkRef[T](outlet: CodecOutlet[T]): WritableSinkRef[T]
- Definition Classes
- AkkaStreamletLogic
- def sourceWithCommittableContext[T](inlet: CodecInlet[T]): SourceWithCommittableContext[T]
- Definition Classes
- AkkaStreamletLogic
- final def streamletConfig: Config
- Definition Classes
- AkkaStreamletLogic
- final def streamletRef: String
- Definition Classes
- AkkaStreamletLogic
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- implicit final val system: ActorSystem
- Definition Classes
- AkkaStreamletLogic
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Deprecated Value Members
- final def flowWithOffsetContext(): FlowWithContext[I, CommittableOffset, I, CommittableOffset, NotUsed]
- Annotations
- @deprecated
- Deprecated
(Since version 1.3.1) Use
Splitter.sink
instead.
- def getSinkWithOffsetContext[T](): Sink[Pair[T, CommittableOffset], NotUsed]
- Definition Classes
- AkkaStreamletLogic
- Annotations
- @deprecated
- Deprecated
(Since version 1.3.1) Use
getCommittableSink
instead.
- def getSinkWithOffsetContext[T](committerSettings: CommitterSettings): Sink[Pair[T, CommittableOffset], NotUsed]
- Definition Classes
- AkkaStreamletLogic
- Annotations
- @deprecated
- Deprecated
(Since version 1.3.1) Use
getCommittableSink
instead.
- def getSinkWithOffsetContext[T](outlet: CodecOutlet[T], committerSettings: CommitterSettings): Sink[Pair[T, CommittableOffset], NotUsed]
- Definition Classes
- AkkaStreamletLogic
- Annotations
- @deprecated
- Deprecated
(Since version 1.3.1) Use
getCommittableSink
instead.
- def getSinkWithOffsetContext[T](outlet: CodecOutlet[T]): Sink[Pair[T, CommittableOffset], NotUsed]
- Definition Classes
- AkkaStreamletLogic
- Annotations
- @deprecated
- Deprecated
(Since version 1.3.1) Use
getCommittableSink
instead.
- def getSourceWithOffsetContext[T](inlet: CodecInlet[T]): SourceWithContext[T, CommittableOffset, _]
- Definition Classes
- AkkaStreamletLogic
- Annotations
- @deprecated
- Deprecated
(Since version 1.3.4) Use getSourceWithCommittableContext
- def sinkWithOffsetContext[T]: Sink[(T, CommittableOffset), NotUsed]
- Definition Classes
- AkkaStreamletLogic
- Annotations
- @deprecated
- Deprecated
(Since version 1.3.1) Use
committableSink
instead.
- def sinkWithOffsetContext[T](committerSettings: CommitterSettings): Sink[(T, CommittableOffset), NotUsed]
- Definition Classes
- AkkaStreamletLogic
- Annotations
- @deprecated
- Deprecated
(Since version 1.3.1) Use
committableSink
instead.
- def sinkWithOffsetContext[T](outlet: CodecOutlet[T], committerSettings: CommitterSettings): Sink[(T, CommittableOffset), NotUsed]
- Definition Classes
- AkkaStreamletLogic
- Annotations
- @deprecated
- Deprecated
(Since version 1.3.1) Use
committableSink
instead.
- def sourceWithOffsetContext[T](inlet: CodecInlet[T]): SourceWithOffsetContext[T]
- Definition Classes
- AkkaStreamletLogic
- Annotations
- @deprecated
- Deprecated
(Since version 1.3.4) Use sourceWithCommittableContext