I'm running CentOS Linux release 7.5.1804 (Core), and was able to install Kafka from the official site.
However, I need to monitor a syslog file and put the contents of this file in a kafka topic.
There is a kafka connector available that does this for me, but it is not anywhere to be found in the CentOS repo's.
I'm looking to install rsyslog-kafka (that requires librdkafka, which I could install without any problems), but there seems to be a mismatch
in versions and rsyslog-kafka refuses to install, even with --skip-broken.
Code: Select all
yum localinstall rsyslog-kafka-8.24.0-2.el7.x86_64.rpm
Loaded plugins: fastestmirror
Examining rsyslog-kafka-8.24.0-2.el7.x86_64.rpm: rsyslog-kafka-8.24.0-2.el7.x86_64
Marking rsyslog-kafka-8.24.0-2.el7.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package rsyslog-kafka.x86_64 0:8.24.0-2.el7 will be installed
--> Processing Dependency: rsyslog = 8.24.0-2.el7 for package: rsyslog-kafka-8.24.0-2.el7.x86_64
Loading mirror speeds from cached hostfile
--> Finished Dependency Resolution
Error: Package: rsyslog-kafka-8.24.0-2.el7.x86_64 (/rsyslog-kafka-8.24.0-2.el7.x86_64)
Requires: rsyslog = 8.24.0-2.el7
Installed: rsyslog-8.24.0-16.el7_5.4.x86_64 (@updates)
rsyslog = 8.24.0-16.el7_5.4
Available: rsyslog-8.24.0-16.el7.x86_64 (base)
rsyslog = 8.24.0-16.el7
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Anyone here succeeded in installing this piece of software without installing rsyslog from the rsyslog site, instead of the rsyslog from the CentOS repo ?
I was unable to find an rsyslog-kafka-8.24.0-16.el7.x86_64 to match the installed rsyslog version.....
Thanks,
Hans