stop outbound streams when quarantined, #21407
* they can't be stopped immediately because we want to send some final message and we reply to inbound messages with `Quarantined` * and improve logging
This commit is contained in:
parent
11097eedad
commit
1926560e41
14 changed files with 171 additions and 80 deletions
|
|
@ -18,6 +18,7 @@ import akka.stream.stage.InHandler
|
|||
import akka.stream.stage.OutHandler
|
||||
import akka.remote.UniqueAddress
|
||||
import akka.util.OptionVal
|
||||
import akka.event.Logging
|
||||
|
||||
/** INTERNAL API: marker trait for protobuf-serializable artery messages */
|
||||
private[akka] trait ArteryMessage extends Serializable
|
||||
|
|
@ -206,7 +207,7 @@ private[akka] class OutboundControlJunction(
|
|||
buffer.offer(wrap(message))
|
||||
else {
|
||||
// it's alright to drop control messages
|
||||
log.debug("Dropping control message [{}] due to full buffer.", message.getClass.getName)
|
||||
log.debug("Dropping control message [{}] due to full buffer.", Logging.messageClassName(message))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue