So here it is: https://github.com/rsyslog/rsyslog/tree/master-omkafka
I have deliberately left out the impstats calls as I saw you included them in your source, so feel free to add them again ;) Note that there is a different approach to parameters: my version has only very few hardcoded ones, but instead permits the user to set actual kafka parameters via the confparam and topicparam parameters. In my experience, this is far better with a rapidly evolving backend, because now any new or changed parameter is immediately available. I'll write up some bare doc later today. So far this is tested on Ubuntu 14.04LTS only, and I would *deeply* appreciate if you (and anyone else) could test it - especially as I have only very limited Kafka know-how and no real use case myself. Thanks, Rainer 2014-12-15 0:07 GMT+01:00 Tait Clarridge <[email protected]>: > Fantastic, that's one area I definitely omitted. I look forward to > contributing to this great project! > > On Sun, Dec 14, 2014 at 1:23 PM, Rainer Gerhards > <[email protected]> wrote: > > excellent! I hope I have the initial commit tomorrow morning. Now > working a > > bit on error detection... > > > > Rainer > > > > 2014-12-14 19:14 GMT+01:00 Tait Clarridge <[email protected]>: > > > >> I think your idea works; if you commit yours (which is way more robust > >> than mine), I can submit a pull request for the additional items my > >> module had that are not present in yours. > >> > >> The only parts of the original contribution that I re-used were parts > >> of the send_message function - I added much more on top of it so that > >> should cover all of the items I will/might add. > >> > >> Tait > >> > >> On Sun, Dec 14, 2014 at 11:41 AM, Rainer Gerhards > >> <[email protected]> wrote: > >> > side-note on how to carry on: I have seen check the link to the > original > >> > contribution (I admit I totally overlooked it at that time). It did > not > >> > have an explicit license, which is a bit problematic. Some folks would > >> say > >> > this means it default back to the project license, which then would > mean > >> > GPLv3, which would cause problems with our move to ASL 2.0. > >> > > >> > Here is what I have on my mind on how to solve and be able to merge: I > >> hope > >> > I can commit tomorrow. I could then > >> > > >> > 1. pick from your code what is missing in mine > >> > 2. apply it under your your commit --author > >> > 3. and finally update to copyright in the header comment to reflect > both > >> us > >> > > >> > Would that work for you? In step 1 there is a problem if I run into > code > >> > that stems back to the original contribution, which, if so, I can not > >> merge > >> > do to licensing. I hope that won't be the case. > >> > > >> > If you like, you can of course create a PR based on my commit > tomorrow, > >> you > >> > just need to make sure that all code that is added is originally > written > >> by > >> > you or under some license that is OK with ASL 2.0 (like the BSD > 2-clause > >> > from librdkafka). > >> > > >> > What would work for you? > >> > > >> > Rainer > >> > > >> > 2014-12-14 17:26 GMT+01:00 Rainer Gerhards <[email protected] > >: > >> > > >> >> just sent it your way :-) > >> >> > >> >> 2014-12-14 17:24 GMT+01:00 Tait Clarridge <[email protected]>: > >> >> > >> >>> > just leave it as is for now. I need to merge manually in any > case, as > >> >>> both > >> >>> > commits will be just a module. Bear a day with me, I don't want to > >> do a > >> >>> > hasty commit of my unfinished work. If you like, I can share a > >> working > >> >>> > copy, though. Just let me know. > >> >>> > > >> >>> > Rainer > >> >>> > >> >>> That sounds great, when you get a chance I'd like to take a look. > I'm > >> >>> in no rush as well so take your time :) > >> >>> > >> >>> Tait > >> >>> _______________________________________________ > >> >>> rsyslog mailing list > >> >>> http://lists.adiscon.net/mailman/listinfo/rsyslog > >> >>> http://www.rsyslog.com/professional-services/ > >> >>> What's up with rsyslog? Follow https://twitter.com/rgerhards > >> >>> NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a > >> myriad > >> >>> of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if > you > >> >>> DON'T LIKE THAT. > >> >>> > >> >> > >> >> > >> > _______________________________________________ > >> > rsyslog mailing list > >> > http://lists.adiscon.net/mailman/listinfo/rsyslog > >> > http://www.rsyslog.com/professional-services/ > >> > What's up with rsyslog? Follow https://twitter.com/rgerhards > >> > NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a > myriad > >> of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you > >> DON'T LIKE THAT. > >> _______________________________________________ > >> rsyslog mailing list > >> http://lists.adiscon.net/mailman/listinfo/rsyslog > >> http://www.rsyslog.com/professional-services/ > >> What's up with rsyslog? Follow https://twitter.com/rgerhards > >> NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad > >> of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you > >> DON'T LIKE THAT. > >> > > _______________________________________________ > > rsyslog mailing list > > http://lists.adiscon.net/mailman/listinfo/rsyslog > > http://www.rsyslog.com/professional-services/ > > What's up with rsyslog? Follow https://twitter.com/rgerhards > > NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad > of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you > DON'T LIKE THAT. > _______________________________________________ > rsyslog mailing list > http://lists.adiscon.net/mailman/listinfo/rsyslog > http://www.rsyslog.com/professional-services/ > What's up with rsyslog? Follow https://twitter.com/rgerhards > NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad > of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you > DON'T LIKE THAT. > _______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com/professional-services/ What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.

