Add logging on Consumer disconnected

This commit is contained in:
2021-09-15 01:26:00 +03:00
parent f3f67bedd3
commit c505d62533

View File

@ -130,6 +130,12 @@ final class Consumer extends Connection
} }
} }
$this->logger->debug('Consumer disconnected.', [
'address' => $this->address,
'topic' => $this->topic,
'channel' => $this->channel,
]);
$this->stream = new NullStream(); $this->stream = new NullStream();
}); });
}); });