Syslog-ng send message in topic kafka

OpenWrt v.22.03.6 installed syslog-ng v.4.7.1-1.
In the settings file of receiving and sending messages settings for kafka are made:

destination d_kafka {
    kafka(
        bootstrap-servers("10.10.10.100:9092")
	topic("mesh_logs")
	key("${HOST}")
        disk-buffer(
	    mem-buf-size(10000000)
	    disk-buf-size(50000000)
	    reliable(yes)
	    dir("/tmp/disk-buffer")
	)
   );
};

The kafka dependencies are connected in the main configuration file:

@define kafka-implementation kafka-c

When running syslog-ng, it gives an error:

[2024-08-13T09:54:58.616813] WARNING: Your configuration file uses an obsoleted keyword, please update your configuration; keyword='stats_freq', change='Use the stats() block. E.g. stats(freq(1));', location='/etc/syslog-ng.d/mesh_statistics.conf:10:2'
Error parsing config, syntax error, unexpected LL_IDENTIFIER, expecting '}' in /usr/share/syslog-ng/include/scl/kafka/kafka.conf:25:5-25:12:
20      #
21      #############################################################################
22      
23      @define kafka-implementation kafka-java
24      block destination kafka(...) {
25---->     `kafka-implementation`(`__VARARGS__`);
25---->     ^^^^^^^
26      };

Included from /etc/syslog-ng.d/mesh_statistics.conf:36:5-46:5:
31              create_dirs(yes)
32              );
33      };
34      
35      destination d_kafka {
36---->     kafka(
36---->     ^^^^^^^
37---->         bootstrap-servers("10.10.10.100:9092")
38----> 	topic("mesh_logs")
39----> 	key("${HOST}")
40---->         disk-buffer(
41----> 	    mem-buf-size(10000000)

Included from /etc/syslog-ng.conf:64:1-64:1:


syslog-ng documentation: https://www.syslog-ng.com/technical-documents/list/syslog-ng-open-source-edition
contact: 
	GitHub Project: https://github.com/syslog-ng/syslog-ng
	Chat with the Developers: https://gitter.im/syslog-ng/syslog-ng

I think that modules for kafka support are not installed, but how to install them I can not understand.
Please help me to understand the problem.

Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </> " button:
grafik
Remember to redact passwords, MAC addresses and any public IP addresses you may have:

ubus call system board
{
	"kernel": "5.10.201",
	"hostname": "URP-002",
	"system": "Qualcomm Atheros QCA9558 ver 1 rev 0",
	"model": "Ubiquiti Rocket 5AC Lite",
	"board_name": "ubnt,rocket-5ac-lite",
	"rootfs_type": "squashfs",
	"release": {
		"distribution": "OpenWrt",
		"version": "22.03.6",
		"revision": "r20265-f85a79bcb4",
		"target": "ath79/generic",
		"description": "OpenWrt 22.03.6 r20265-f85a79bcb4"
	}
}