fluent-plugin-kafka says [Unknown output plugin 'kafka'] after install it successfully.

317 views
Skip to first unread message

Zheng Gao

unread,
Sep 24, 2015, 2:43:20 AM9/24/15
to Fluentd Google Group
The process steps:
# apt-get install ruby-dev
# apt-get install make
# gem install fluent-plugin-kafka
Successfully installed fluent-plugin-kafka-0.0.17
1 gem installed
Installing ri documentation for fluent-plugin-kafka-0.0.17...
Installing RDoc documentation for fluent-plugin-kafka-0.0.17...

/etc/td-agent# service td-agent restart
2015-09-24 06:38:28 +0000 [error]: Dry run failed: Unknown output plugin 'kafka'. Run 'gem search -rd fluent-plugin' to find plugins 

The configuration:
<match *.**>
  type                kafka
  zookeeper           10.2.35.50:2181 # Set brokers via Zookeeper

  default_topic       logstash_sin_lbs_vncc
  output_data_type    json
  output_include_tag  true
  output_include_time true
  max_send_retries    3
  required_acks       0
  ack_timeout_ms      1500
  compression_codec   none
</match>

Should I missed any other configuration?

Zheng Gao

unread,
Sep 24, 2015, 2:59:59 AM9/24/15
to Fluentd Google Group
I works well when use 
# /usr/lib/fluent/ruby/bin/fluent-gem install fluent-plugin-kafka --no-rdoc
instead of 
# gem install fluent-plugin-kafka


Close this issue.

Mr. Fiber

unread,
Sep 24, 2015, 3:07:16 AM9/24/15
to Fluentd Google Group
Good.

BTW, you seem to use td-agent 1 but td-agent 1 is old stable.
Please use td-agent 2 instead.


Masahiro

--
You received this message because you are subscribed to the Google Groups "Fluentd Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fluentd+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages