Skip to content

Add out_kafka output #94

Closed
Closed

Description

@salekseev

Activity

  1. self-assigned this
    on Aug 2, 2016
  2. edsiper commented on Aug 2, 2016

    @edsiper
    Member

    Added to the to-do list. thanks

  3. changed the title [-]Please add out_kafka output[/-] [+]Add out_kafka output[/+] on Aug 3, 2016
  4. 0xdavidm commented on May 7, 2017

    @0xdavidm

    Kafka output is very useful feature since in our case every log coming through kafka and then reroute to it's stateful service like elasticsearch / hadoop / other real time streaming.
    Actually this is the only feature im waiting for it to use FluentBit since I want to use Docker with fluentd log driver, and then forward it to kafka.

    @edsiper do you may have eta when you will be able to start working on it?

  5. edsiper commented on May 8, 2017

    @edsiper
    Member

    @Panda87 between Q2/Q3

  6. solsson commented on Jun 14, 2017

    @solsson

    Is there ongoing work with this? There is a https://github.com/samsung-cnct/fluent-bit-kafka-output-plugin but it needs more work, configurability in particular. If a native impl is on its way I could try to contribute there instead.

  7. edsiper commented on Jun 14, 2017

    @edsiper
    Member

    @solsson not implemented yet, as said, between Q2/Q3.

  8. solsson commented on Jun 15, 2017

    @solsson

    Yes I read so and interpreted it as 2017-06-30T23:59:59 :) So I figured there's some source somewhere. But I will give the go impl a chance.

  9. edsiper commented on Jul 24, 2017

    @edsiper
    Member

    FYI:

    On GIT Master I've pushed a new Kafka REST output plugin.

    The plugin is still under development but functional, any feedback is welcome. You can find a configuration example here

  10. 0xdavidm commented on Jul 24, 2017

    @0xdavidm

    Thanks @edsiper
    What are the benefits to work against Kafka REST instead of the solid TCP?

  11. solsson commented on Jul 24, 2017

    @solsson

    On GIT Master I've pushed a new Kafka REST output plugin.

    Interesting. I'll give it a try once there's a new build of fluent/fluent-bit:0.12-dev.

  12. edsiper commented on Jul 24, 2017

    @edsiper
    Member

    @Panda87 : both plugins will be implemented: kafka-rest and kafka (native TCP), this is a snapshot of kafka-rest

    @solsson fluent/fluent-bit:0.12-dev it's under build process (it should take ~20 min)

  13. 0xdavidm commented on Jul 24, 2017

    @0xdavidm

    Thanks @edsiper

  14. 39 remaining items

  15. solsson commented on Jan 16, 2018

    @solsson

    @solsson would you please re-submit the PR on 0.13-dev branch https://github.com/fluent/fluent-bit-kubernetes-logging/tree/0.13-dev ?

    @edsiper done in fluent/fluent-bit-kubernetes-logging#16

    Fantastic work with the new version. I've enabled the Prometheus exporter in our QA and fluentbit_input_bytes_total is immensely useful to spot unexpectedly high volumes. Also fluentbit_output_retries_total should help us track issues with the Retry_Limit tests from fluent/fluent-bit-kubernetes-logging#11 (comment). Haven't had any retries yet though :)

  16. edsiper commented on Jan 30, 2018

    @edsiper
    Member

    FYI: the 0.13-dev image have been updated to 0.6:

    https://github.com/fluent/fluent-bit-kubernetes-logging/tree/0.13-dev (fixed)

    note: this one fix a crash found in the Prometheus exporter.

  17. edsiper commented on Feb 6, 2018

    @edsiper
    Member

    FYI: 0.13-dev image has been updated to 0.7:

    https://github.com/fluent/fluent-bit-kubernetes-logging/tree/0.13-dev

    changes on this version are related to fixes in memory handling, new configuration option for out_kafka to adjust rdkafka internals and in_tail fixes.

  18. solsson commented on Feb 6, 2018

    @solsson

    IMO out_kafka is feature complete now.

  19. StevenACoffman commented on Feb 7, 2018

    @StevenACoffman
    Contributor

    I agree. The newest improvements (notably the new configuration option for out_kafka to adjust rdkafka internals) to be able to limit kafka buffer make it a complete feature now. It has been pretty solid in my testing over the last 24 hours, but I'm going to try putting a few million messages through it, and see how it handles.

  20. edsiper commented on Feb 7, 2018

    @edsiper
    Member

    @solsson @StevenACoffman should I set these settings by default in the plugin ? what do you think ?:

    • rdkafka.log.connection.close false
    • rdkafka.queue.buffering.max.kbytes 10240
    • rdkafka.request.required.acks 1

    note: of course they can be overridden by config any time

  21. StevenACoffman commented on Feb 7, 2018

    @StevenACoffman
    Contributor

    I can see people adjusting them but Those look pretty good as defaults to me.

  22. solsson commented on Feb 8, 2018

    @solsson

    I'm unsure. For users of the kubernets manifests it's quite transparent that defaults are from https://github.com/edenhill/librdkafka/blob/master/CONFIGURATION.md and you see suggested overrides in plain text.

    Without the sample manifests I'd say you definitely want rdkafka.log.connection.close to avoid support requests. The [error] level log entries for a non-issue fooled me for sure. Maybe the same goes for rdkafka.queue.buffering.max.kbytes, if we can confirm that it solves the memory spikes. But the value I set was just a guess. On the other hand, again for transparency this might be better placed in the output plugin's docs.

  23. edsiper commented on Feb 9, 2018

    @edsiper
    Member

    thanks for the feedback. I will document that in the plugin docs.

  24. edsiper commented on Feb 9, 2018

    @edsiper
    Member

    btw, are we ok to close this one ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions