flume-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tao Li <litao.bupt...@gmail.com>
Subject [KafkaChannel] About kafka producer type "sync" or "aync"
Date Mon, 13 Apr 2015 16:41:15 GMT
Hi all:

JIRA: https://issues.apache.org/jira/browse/FLUME-2500

I have a question about this issue.

Flume support transaction between source and channel. So for kafka channel:
1. If we use "*sync*" kafka producer, it surely can guarantee the
transaction, but sync send has low *performance*.
2. If we use "*async*" kafka producer, the performance will be better, but
it can't guarantee the *transaction*.

How do you think on it?

View raw message