ActorAttributes

org.apache.pekko.stream.ActorAttributes

Attributes for the Materializer. Note that more attributes defined in Attributes.

Attributes

Source
Attributes.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

final case class DebugLogging(enabled: Boolean) extends MandatoryAttribute

Enables additional low level troubleshooting logging at DEBUG log level

Enables additional low level troubleshooting logging at DEBUG log level

Use factory method #debugLogging to create.

Attributes

Source
Attributes.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Attribute
class Object
trait Matchable
class Any
Show all
final case class Dispatcher(dispatcher: String) extends MandatoryAttribute

Configures the dispatcher to be used by streams.

Configures the dispatcher to be used by streams.

Use factory method ActorAttributes#dispatcher to create instances.

Attributes

Source
Attributes.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Attribute
class Object
trait Matchable
class Any
Show all
final case class FuzzingMode(enabled: Boolean) extends MandatoryAttribute

Test utility: fuzzing mode means that GraphStage events are not processed in FIFO order within a fused subgraph, but randomized.

Test utility: fuzzing mode means that GraphStage events are not processed in FIFO order within a fused subgraph, but randomized.

Use factory method #fuzzingMode to create.

Attributes

Source
Attributes.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Attribute
class Object
trait Matchable
class Any
Show all
final case class MaxFixedBufferSize(size: Int) extends MandatoryAttribute

Configure the maximum buffer size for which a FixedSizeBuffer will be preallocated. This defaults to a large value because it is usually better to fail early when system memory is not sufficient to hold the buffer.

Configure the maximum buffer size for which a FixedSizeBuffer will be preallocated. This defaults to a large value because it is usually better to fail early when system memory is not sufficient to hold the buffer.

Use factory method #maxFixedBufferSize to create.

Attributes

Source
Attributes.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Attribute
class Object
trait Matchable
class Any
Show all
final case class OutputBurstLimit(limit: Int) extends MandatoryAttribute

Maximum number of elements emitted in batch if downstream signals large demand.

Maximum number of elements emitted in batch if downstream signals large demand.

Use factory method #outputBurstLimit to create.

Attributes

Source
Attributes.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Attribute
class Object
trait Matchable
class Any
Show all

Defines a timeout for stream subscription and what action to take when that hits.

Defines a timeout for stream subscription and what action to take when that hits.

Use factory method streamSubscriptionTimeout to create.

Attributes

Source
Attributes.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Attribute
class Object
trait Matchable
class Any
Show all
final case class SupervisionStrategy(decider: Decider) extends MandatoryAttribute

Attributes

Source
Attributes.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Attribute
class Object
trait Matchable
class Any
Show all
final case class SyncProcessingLimit(limit: Int) extends MandatoryAttribute

Limit for number of messages that can be processed synchronously in stream to substream communication.

Limit for number of messages that can be processed synchronously in stream to substream communication.

Use factory method #syncProcessingLimit to create.

Attributes

Source
Attributes.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Attribute
class Object
trait Matchable
class Any
Show all

Value members

Concrete methods

def createLogLevels(onElement: LogLevel, onFinish: LogLevel, onFailure: LogLevel): Attributes

Java API

Java API

Configures log() operator log-levels to be used when logging. Logging a certain operation can be completely disabled by using Attributes#logLevelOff.

Attributes

Source
Attributes.scala

Java API

Java API

Configures log() operator log-levels to be used when logging onElement. Logging a certain operation can be completely disabled by using Attributes#logLevelOff.

Attributes

Source
Attributes.scala

Enables additional low level troubleshooting logging at DEBUG log level

Enables additional low level troubleshooting logging at DEBUG log level

Attributes

Source
Attributes.scala
def dispatcher(dispatcher: String): Attributes

Specifies the name of the dispatcher. This also adds an async boundary.

Specifies the name of the dispatcher. This also adds an async boundary.

Attributes

Source
Attributes.scala
def fuzzingMode(enabled: Boolean): Attributes

Test utility: fuzzing mode means that GraphStage events are not processed in FIFO order within a fused subgraph, but randomized.

Test utility: fuzzing mode means that GraphStage events are not processed in FIFO order within a fused subgraph, but randomized.

Attributes

Source
Attributes.scala
def logLevels(onElement: LogLevel, onFinish: LogLevel, onFailure: LogLevel): Attributes

Configures log() operator log-levels to be used when logging. Logging a certain operation can be completely disabled by using LogLevels.Off.

Configures log() operator log-levels to be used when logging. Logging a certain operation can be completely disabled by using LogLevels.Off.

See Attributes.createLogLevels for Java API

Attributes

Source
Attributes.scala

Configure the maximum buffer size for which a FixedSizeBuffer will be preallocated. This defaults to a large value because it is usually better to fail early when system memory is not sufficient to hold the buffer.

Configure the maximum buffer size for which a FixedSizeBuffer will be preallocated. This defaults to a large value because it is usually better to fail early when system memory is not sufficient to hold the buffer.

Attributes

Source
Attributes.scala

Maximum number of elements emitted in batch if downstream signals large demand.

Maximum number of elements emitted in batch if downstream signals large demand.

Attributes

Source
Attributes.scala

Scala API: Defines a timeout for stream subscription and what action to take when that hits.

Scala API: Defines a timeout for stream subscription and what action to take when that hits.

Attributes

Source
Attributes.scala

Java API: Defines a timeout for stream subscription and what action to take when that hits.

Java API: Defines a timeout for stream subscription and what action to take when that hits.

Attributes

Source
Attributes.scala

Scala API: Decides how exceptions from user are to be handled.

Scala API: Decides how exceptions from user are to be handled.

Operators supporting supervision strategies explicitly document that they do so. If a operator does not document support for these, it should be assumed it does not support supervision.

For the Java API see withSupervisionStrategy

Attributes

Source
Attributes.scala

Limit for number of messages that can be processed synchronously in stream to substream communication

Limit for number of messages that can be processed synchronously in stream to substream communication

Attributes

Source
Attributes.scala

Java API: Decides how exceptions from application code are to be handled.

Java API: Decides how exceptions from application code are to be handled.

Operators supporting supervision strategies explicitly document that they do so. If a operator does not document support for these, it should be assumed it does not support supervision.

For the Scala API see supervisionStrategy

Attributes

Source
Attributes.scala

Concrete fields

Attributes

Source
Attributes.scala