Step 1: Go to the link https://pecl.php.net/package/rdkafka to download the rdkafka version compatible with your PHP version and extract the files.
Note: Download the Thread Safe (TS) x64 DLL version.
Step 2: Navigate to the PHP extension folder in Laragon. Then, copy the two extracted files to the following locations:
librdkafka.dll -> laragon\bin\php\php-my-version
php_rdkafka.dll -> laragon\bin\php\php-my-version\ext