DrainingControl

akka.kafka.scaladsl.Consumer$.DrainingControl$
See theDrainingControl companion class

Attributes

Companion:
class
Source:
Consumer.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

def apply[T](tuple: (Control, Future[T])): DrainingControl[T]

Combine the consumer control and a stream completion signal materialized values into one, so that the stream can be stopped in a controlled way without losing commits.

Combine the consumer control and a stream completion signal materialized values into one, so that the stream can be stopped in a controlled way without losing commits.

For use in mapMaterializedValue.

Attributes

Source:
Consumer.scala
def apply[T]: (Control, Future[T]) => DrainingControl[T]

Combine the consumer control and a stream completion signal materialized values into one, so that the stream can be stopped in a controlled way without losing commits.

Combine the consumer control and a stream completion signal materialized values into one, so that the stream can be stopped in a controlled way without losing commits.

For use in the toMat combination of materialized values.

Attributes

Source:
Consumer.scala