Open schrepfler opened 6 years ago
The LatencyMonitor is a bit more difficult to implement in Java that the ThroughputMonitor, would be nice to show an example how to create one in Java and also perhaps show how to compose and create the Graph featuring both.
LatencyMonitor
ThroughputMonitor
Graph
Flow.fromSinkAndSource(sink, src) .via(ThroughputMonitor.apply(FiniteDuration.create(15, TimeUnit.SECONDS), this::onStatsHandler);
The
LatencyMonitor
is a bit more difficult to implement in Java that theThroughputMonitor
, would be nice to show an example how to create one in Java and also perhaps show how to compose and create theGraph
featuring both.