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

Error: (-1003) Cannot receive: topic='xxx' #44

Open
mjfort opened this issue Jun 19, 2018 · 0 comments
Open

Error: (-1003) Cannot receive: topic='xxx' #44

mjfort opened this issue Jun 19, 2018 · 0 comments

Comments

@mjfort
Copy link

mjfort commented Jun 19, 2018

On Mac AND Linux, Perl is modern (5.16 and 5.22 respectively), using freshly downloaded Kafka 1.07.
No Kafka or Java on these machines, purely clients. The server is external.

The example consumer code in 'An Example' will fail 90+% of the time in fetch with the $@ being
Error: (-1003) Cannot receive: topic='xxx'

Trace begun at /usr/local/share/perl/5.22.1/Kafka/Connection.pm line 1592
Kafka::Connection::_error('Kafka::Connection=HASH(0xe24908)', -1003, 'topic='xxx'', 'request', 'HASH(0x10597b8)', 'io_error', undef) called at /usr/local/share/perl/5.22.1/Kafka/Connection.pm line 1020
Kafka::Connection::receive_response_to_request('Kafka::Connection=HASH(0xe24908)', 'HASH(0x10597b8)', undef, 0.1) called at /usr/local/share/perl/5.22.1/Kafka/Consumer.pm line 366
Kafka::Consumer::fetch('Kafka::Consumer=HASH(0xe248d8)', 'xxx', 0, 0, 1000000) called at t line 22
eval {...} at t line 22

<10% of the time, I get the messages. On the actual Kafka server, the same script gets 100% success and is instantaneous.

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