I've tried to migrate latest flume thrift protocol.
Limitations
Latest flume protocol does not support sink from flume. So, we cannot implement in_flume with thrift protocol. (Also avro protocol does not support sink.)
How to test
Prepare
Download apache-flume-1.6.0-bin.tar.gz from fastest mirror
Create using thrift protocol flume configuration like this:
# thrift-single.conf: A single-node Flume configuration
# Name the components on this agent
a1.sources = r1
a1.sinks = k1
a1.channels = c1
# Describe/configure the source
a1.sources.r1.type = thrift
a1.sources.r1.bind = 0.0.0.0
a1.sources.r1.channels = c1
a1.sources.r1.port = 4141
# Describe the sink
a1.sinks.k1.type = logger
# Use a channel which buffers events in memory
a1.channels.c1.type = memory
a1.channels.c1.capacity = 1000
a1.channels.c1.transactionCapacity = 100
# Bind the source and sink to the channel
a1.sources.r1.channels = c1
a1.sinks.k1.channel = c1
Install fluentd and this branch.
Create fluentd configuration like this:
<source>
type forward
bind 0.0.0.0
port 24224
</source>
<filter test.flume>
type stdout
</filter>
<match **>
type flume
host localhost
port 4141
</match>
I've tried to migrate latest flume thrift protocol.
Limitations
Latest flume protocol does not support sink from flume. So, we cannot implement
in_flume
with thrift protocol. (Also avro protocol does not support sink.)How to test
Prepare
apache-flume-1.6.0-bin.tar.gz
from fastest mirrorTest
Result
Displayed
{"test":"flume!" }
, Yay!