Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not read 4 bytes from stream (not readable) #12

Open
yuchao86 opened this issue Mar 27, 2015 · 0 comments
Open

Could not read 4 bytes from stream (not readable) #12

yuchao86 opened this issue Mar 27, 2015 · 0 comments

Comments

@yuchao86
Copy link

╭─root@dev78 ~/Lab/kafka-php/src ‹master_›
╰─➤ ls
examples lib tests
╭─root@dev78 ~/Lab/kafka-php/src ‹master_›
╰─➤ php examples/consume.php

ERROR: Kafka_Exception_Socket_EOF: Could not read 4 bytes from stream (not readable)
#0 /root/Lab/kafka-php/src/lib/Kafka/SimpleConsumer.php(216): Kafka_Socket->read(4, true)
#1 /root/Lab/kafka-php/src/lib/Kafka/SimpleConsumer.php(182): Kafka_SimpleConsumer->getResponseSize()
#2 /root/Lab/kafka-php/src/examples/consume.php(46): Kafka_SimpleConsumer->fetch(Object(Kafka_FetchRequest))
#3 {main}

ERROR: Kafka_Exception_Socket_EOF: Could not read 4 bytes from stream (not readable)
#0 /root/Lab/kafka-php/src/lib/Kafka/SimpleConsumer.php(216): Kafka_Socket->read(4, true)
#1 /root/Lab/kafka-php/src/lib/Kafka/SimpleConsumer.php(182): Kafka_SimpleConsumer->getResponseSize()
#2 /root/Lab/kafka-php/src/examples/consume.php(46): Kafka_SimpleConsumer->fetch(Object(Kafka_FetchRequest))
#3 {main}

ERROR: Kafka_Exception_Socket_EOF: Could not read 4 bytes from stream (not readable)
#0 /root/Lab/kafka-php/src/lib/Kafka/SimpleConsumer.php(216): Kafka_Socket->read(4, true)
#1 /root/Lab/kafka-php/src/lib/Kafka/SimpleConsumer.php(182): Kafka_SimpleConsumer->getResponseSize()
#2 /root/Lab/kafka-php/src/examples/consume.php(46): Kafka_SimpleConsumer->fetch(Object(Kafka_FetchRequest))
#3 {main}

^Z
[3] + 24000 suspended php examples/consume.php

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant