Skip to content

write data of close socket #21

Description

@chenmingjian123

用supervisor维护常驻进程,在正常消费一段时间后,会报这个错误而结束进程

环境:php8.2,laravel 10.8
使用包版本:v1.2.2

` Pulsar\Exception\IOException

write data of close socket

at vendor/ikilobyte/pulsar-client-php/src/IO/StreamIO.php:123
119▕ }
120▕
121▕ $size = @fwrite($this->socket, $buffer);
122▕ if ($size === false) {
➜ 123▕ throw new IOException('write data of close socket');
124▕ }
125▕
126▕ return $this;
127▕ }

  +3 vendor frames 

4 app/Console/PulsarConsumers/DbChangeWatcher2Command.php:62
Pulsar\Consumer::receive()
+12 vendor frames

17 artisan:35
Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

`

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions