Release notes
2.x.x
This is the first release of Apache Flume RPC, which contains the Avro and Thrift RPC components and the embedded agent moved out of the main Flume repository.
Added
-
Add
flume-rpc-avro,flume-rpc-thriftandflume-embedded-agent, moved out of the main Flume repository (431)
Changed
-
Register the
avroandthriftsources and sinks, thespooldirsource, theavroevent deserializer and theavro_eventevent serializer through theorg.apache.flume.spiservice provider interfaces. -
Regenerate the Thrift sources and log through the Log4j API instead of SLF4J in
flume-rpc-thrift(6) -
Move the Avro RPC protocol classes (
AvroSourceProtocol,AvroFlumeEventandStatus) fromorg.apache.flume.source.avrotoorg.apache.flume.avro, so thatAvroSourcecan use theorg.apache.flume.source.avropackage. Flume 1.x clients can only connect to a Flume 2.x Avro source if they use Avro 1.11.1 or later, since Avro 1.11.0 (shipped with Flume 1.11.0) rejects the renamedStatusenum (see AVRO-3133). Flume 2.x clients can connect to Flume 1.x Avro sources without changes. -
Split
flume-rpc-avrointoflume-avro-client,flume-avro-source,flume-avro-sink,flume-avro-serializerandflume-spooldir-source, so Avro clients only depend onflume-sdk. -
Split
flume-rpc-thriftintoflume-thrift-client,flume-thrift-sourceandflume-thrift-sink, so Thrift clients only depend onflume-sdk. The classes move to theorg.apache.flume.client.thrift,org.apache.flume.source.thriftandorg.apache.flume.sink.thriftpackages
Fixed
-
Close the position tracker when
ReliableSpoolingFileEventReaderis closed, so that the meta file no longer stays open on Windows (9)