Bug 1388826

Summary: missing plugins (write_kafka and write_mongodb)
Product: [Fedora] Fedora Reporter: Remi Collet <rcollet>
Component: collectdAssignee: Ruben Kerkhof <ruben>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: mail, mhlavink, rh, ruben
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-11-21 13:58:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Remi Collet 2016-10-26 09:12:30 UTC
In the spec file:

    --disable-write_kafka \
    --disable-write_mongodb \

From: https://collectd.org/wiki/index.php/Plugin:Write_MongoDB

This plugin requires libmongoc which is now availalble in Fedora/EPEL
  https://apps.fedoraproject.org/packages/mongo-c-driver

From: https://collectd.org/wiki/index.php/Plugin:Write_Kafka

This plugin requires linrdkafka, which is not in our repository, but available in my repository for some time (I need it for pecl/rdkafka). I can easily submit for review.


What do you think ?

Comment 1 Ruben Kerkhof 2016-10-26 09:16:46 UTC
Hey Remi,

The mongodb plugin is pretty broken and only supports old versions of the Mongo C driver (https://github.com/collectd/collectd/issues/492). Apparently no-one cares enough about MongoDB to fix it.

As for write_kafka, yeah I'd love to enable it! I saw you already packaged librdkafka, if we could get it into Fedora that would be great.

Thanks!

Ruben

Comment 2 Remi Collet 2016-10-26 09:18:00 UTC
Just FYI, if you want to test it:
https://github.com/remicollet/remirepo/blob/master/librdkafka/librdkafka.spec

Comment 3 Ruben Kerkhof 2016-10-26 09:26:13 UTC
Merci!

Comment 4 Fedora End Of Life 2017-02-28 10:30:56 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle.
Changing version to '26'.

Comment 5 Ruben Kerkhof 2017-04-14 19:03:21 UTC
Hey Remi,

Just to let you know I haven't lost track of this issue. I just merged support for the libmongoc driver upstream (https://github.com/collectd/collectd/commit/1811b98c6d2f6356612fbc5539b8190111a0af73) and it will be in the next collectd version.

Comment 6 Ruben Kerkhof 2017-04-14 19:22:02 UTC
I also just enabled the write-kafka plugin in Rawhide.

Comment 7 Jan Kurik 2017-08-15 07:56:45 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 27 development cycle.
Changing version to '27'.

Comment 8 Ruben Kerkhof 2017-11-21 13:58:53 UTC
Fixed in collectd-5.8.0-2.fc28