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-thrift and flume-embedded-agent, moved out of the main Flume repository (431)

Changed

  • Register the avro and thrift sources and sinks, the spooldir source, the avro event deserializer and the avro_event event serializer through the org.apache.flume.spi service 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, AvroFlumeEvent and Status) from org.apache.flume.source.avro to org.apache.flume.avro, so that AvroSource can use the org.apache.flume.source.avro package. 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 renamed Status enum (see AVRO-3133). Flume 2.x clients can connect to Flume 1.x Avro sources without changes.

  • Split flume-rpc-avro into flume-avro-client, flume-avro-source, flume-avro-sink, flume-avro-serializer and flume-spooldir-source, so Avro clients only depend on flume-sdk.

  • Split flume-rpc-thrift into flume-thrift-client, flume-thrift-source and flume-thrift-sink, so Thrift clients only depend on flume-sdk. The classes move to the org.apache.flume.client.thrift, org.apache.flume.source.thrift and org.apache.flume.sink.thrift packages

Fixed

  • Close the position tracker when ReliableSpoolingFileEventReader is closed, so that the meta file no longer stays open on Windows (9)

Updated

  • Update github/codeql-action/analyze to version 4.38.2 (12)

  • Update github/codeql-action/autobuild to version 4.38.2 (12)

  • Update github/codeql-action/init to version 4.38.2 (12)

  • Update org.apache.thrift:libthrift to version 0.25.0 (13)