[
https://issues.apache.org/jira/browse/FLUME-2846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xin Wang updated FLUME-2846:
----------------------------
Description:
why use [new producer
API|http://kafka.apache.org/documentation.html#producerapi]?
because this new client is "both faster and more fully featured than the
previous Scala client".
changes are following:
1. add kafka-clients dependency to flume-parent/pom.xml and
flume-ng-kafka-sink.xml
2. use new producer api in KafkaSink
3. update producer configs in KafkaSinkConstants
4. update unit tests.
was:
why use <a href="http://kafka.apache.org/documentation.html#producerapi">new
producer API</a>?
because this new client is "both faster and more fully featured than the
previous Scala client".
changes are following:
1. add kafka-clients dependency to flume-parent/pom.xml and
flume-ng-kafka-sink.xml
2. use new producer api in KafkaSink
3. update producer configs in KafkaSinkConstants
4. update unit tests.
> flume-kafka-sink uses new kafka producer API
> --------------------------------------------
>
> Key: FLUME-2846
> URL: https://issues.apache.org/jira/browse/FLUME-2846
> Project: Flume
> Issue Type: Improvement
> Components: Sinks+Sources
> Affects Versions: v1.6.0
> Reporter: Xin Wang
>
> why use [new producer
> API|http://kafka.apache.org/documentation.html#producerapi]?
> because this new client is "both faster and more fully featured than the
> previous Scala client".
> changes are following:
> 1. add kafka-clients dependency to flume-parent/pom.xml and
> flume-ng-kafka-sink.xml
> 2. use new producer api in KafkaSink
> 3. update producer configs in KafkaSinkConstants
> 4. update unit tests.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)