ppkarwasz opened a new pull request, #526:
URL: https://github.com/apache/logging-flume/pull/526

   `flume-sdk`, `flume-configuration` and `flume-core` shared the 
`org.apache.flume`, `conf`, `instrumentation` and `serialization` packages, so 
the artifacts could not be used as JPMS modules. Almost every package mixes the 
plugin API with built-in components and runtime classes, so moving the plugin 
API into a separate artifact would have meant renaming many classes. Instead, 
this PR minimizes the changes compared to Flume 1.x:
   
   - `flume-sdk` and `flume-configuration` are merged into `flume-core`, 
without renaming any class. Plugins and agents depend on `flume-core`, as they 
depended on `flume-ng-core` in 1.x.
   - `flume-client` is renamed to `flume-sdk`. In 1.x, client applications used 
`flume-ng-sdk`, the "Flume Client SDK" of the documentation, and no plugin 
depended on it without `flume-ng-core`. The API compatibility check now 
compares it with `flume-ng-sdk` 1.11.0.
   - The classes of the three remaining split packages move to new packages: 
`SpillableMemoryChannel` to `org.apache.flume.channel.spillable`, the 
environment variable and external process config filters to 
`org.apache.flume.configfilter.env` and `.external`, and the classes of 
`org.apache.flume.tools` in `flume-core` next to their users. `flume-tools` and 
`flume-config-filter-api` keep their packages. The `spillablememory`, `env`, 
`external` and `hadoop` aliases point to the new names.
   
   `BasicTransactionSemantics.put()` and `take()` become public, since the 
spillable memory channel calls them on the file channel's transactions from 
another package. No subclass in this repository or the satellites overrides 
them.
   
   Follow-ups:
   
   - apache/logging-flume-hadoop must move `HadoopCredentialStoreConfigFilter` 
to `org.apache.flume.configfilter.hadoop`, which the `hadoop` alias now points 
to.
   - The satellites must replace their `flume-configuration` dependencies and 
the plugin-API uses of `flume-sdk` with `flume-core`, and `flume-client` with 
`flume-sdk`.
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to