PHP Error on kafka module status page

Created on 10 October 2023, 9 months ago
Updated 11 October 2023, 9 months ago

I installed kafka module with all requirements on a Drupal project using PHP 8.1, then added settings to the settings.php file.

Kafka communication should be ok because I validated it using rdkafka client directly and it worked.

When I go to kafka module status page at admin/reports/status/kafka, I get following error:

RdKafka\Exception: Local: Broker transport failure in RdKafka->getMetadata() (line 214 of modules/contrib/kafka/src/ClientFactory.php).

πŸ› Bug report
Status

Closed: works as designed

Component

Code

Created by

πŸ‡«πŸ‡·France louis-cuny

Live updates comments and jobs are added and updated live.
  • PHP 8.1

    The issue particularly affects sites running on PHP version 8.1.0 or later.

Sign in to follow issues

Comments & Activities

  • Issue created by @louis-cuny
  • Status changed to Closed: works as designed 9 months ago
  • πŸ‡«πŸ‡·France louis-cuny

    I was having an array of array for producer broker list

    The related issue made me do this syntax error

    Sadly not so easy to debug without xdebug getting in rdkafka
    I found more logs adding $conf->set('debug', 'all'); in addition to $conf->set('log_level', strval(LOG_INFO));

  • πŸ‡«πŸ‡·France fgm Paris, France

    Thanks for closing the issue once you identified it was not needed. Not everyone remembers to do that.

Production build 0.69.0 2024