← ZIO Kafka docs

ConcurrentDiagnostics

zio.kafka.diagnostics.internal.ConcurrentDiagnostics

Attributes

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

Members list

Value members

Concrete methods

def make[DiagnosticEvent](wrapped: Diagnostics[DiagnosticEvent], finalEvent: DiagnosticEvent): ZIO[Scope, Nothing, Diagnostics[DiagnosticEvent]]

Attributes

Returns

a Diagnostics that runs the wrapped Diagnostics concurrently in a separate fiber. Events are emitting to the fiber via an unbounded queue. Upon finalization, finalEvent is emitted as the last event. When the wrapped Diagnostics throws or dies, the returned Diagnostics eventually dies as well.

Source
ConcurrentDiagnostics.scala