You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to find a way how to monitor the status of the connection object.
If I shut down my Kafka broker, the response message is still the same as when it is up and running.
Also, both hashes for cluster errors and non fatal errors are empty.
$VAR1 = {};
Non fatal errors:
$VAR1 = [];
The only way (?) to detect an error is currently by, for example call get_metadata and it will throw an exception
Cannot get metadata: topic='<undef>' (same thing happens if I define an exisiting topic)
Trace begun at /opt/app/xxx/xxx-perl/xxx-perllib/lib/perl5/Kafka/Connection.pm line 1592
Kafka::Connection::_error('Kafka::Connection=HASH(0x1d1aa90)', -1007, 'topic=\'<undef>\'') called at /opt/app/xxx/xxx-perl/xxx-perllib/lib/perl5/Kafka/Connection.pm line 693
Kafka::Connection::get_metadata('Kafka::Connection=HASH(0x1d1aa90)') called at /opt/app/xxx/xxx-perl/xxx-perllib/lib/perl5/Xxx/Kafka/Connector.pm line 79
Xxx::Kafka::Connector::__ANON__ at /opt/app/xxx/xxx-perl/xxx-perllib/lib/perl5/Try/Tiny.pm line 81
eval {...} at /opt/app/xxx/xxx-perl/xxx-perllib/lib/perl5/Try/Tiny.pm line 72
Try::Tiny::try('CODE(0x1d1ae98)', 'Try::Tiny::Catch=REF(0xa00448)') called at /opt/app/xxx/xxx-perl/xxx-perllib/lib/perl5/Xxx/Kafka/Connector.pm line 83
Connection is created using $connection = Kafka::Connection->new(host => $hostname, port => $port);
Am I missing something?
Thanks
The text was updated successfully, but these errors were encountered:
I'm trying to find a way how to monitor the status of the connection object.
If I shut down my Kafka broker, the response message is still the same as when it is up and running.
I expect to get some kind of error.
Also, both hashes for cluster errors and non fatal errors are empty.
The only way (?) to detect an error is currently by, for example call get_metadata and it will throw an exception
Connection is created using
$connection = Kafka::Connection->new(host => $hostname, port => $port);
Am I missing something?
Thanks
The text was updated successfully, but these errors were encountered: