This commit is contained in:
2020-12-23 17:02:16 +08:00
parent 923b516eb5
commit 528451ac6a
-7
View File
@@ -39,13 +39,6 @@ class Kafka extends \Snowflake\Process\Process
{
$this->channelListener();
go(function () use ($process) {
$sign = Coroutine::waitSignal(SIGUSR1 | SIGTERM | SIGKILL, -1);
var_dump($sign);
});
$waite = new WaitGroup();
$kafkaServers = SConfig::get('kafka.servers');
foreach ($kafkaServers as $kafkaServer) {