Repository navigation
Remove the split packages - #526
Merged
Merged
Conversation
The three artifacts shared the `org.apache.flume`, `conf`, `instrumentation` and `serialization` packages, which JPMS rejects. Almost every package mixes the plugin API with built-in components and runtime classes, so merging the artifacts fixes the split without renaming any class. Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
In Flume 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`. Now that the plugin API lives in `flume-core`, the client API can take over the `flume-sdk` coordinates. Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
`flume-core` still shared `org.apache.flume.channel` with the spillable memory channel and `org.apache.flume.tools` with `flume-tools`, and the config filter implementations shared `org.apache.flume.configfilter` with their API. `flume-tools` and `flume-config-filter-api` keep their packages; the other classes move next to their users. `BasicTransactionSemantics.put()` and `take()` become public, since the spillable memory channel calls them on the file channel's transactions from another package. Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
rgoers
self-requested a review
November 9, 2026 01:00
rgoers
approved these changes
Nov 9, 2026
rgoers
pushed a commit
to apache/logging-flume-rpc
that referenced
this pull request
Nov 9, 2026
* Depend on the Flume core artifacts of apache/logging-flume#526 `flume-sdk` and `flume-configuration` were merged into `flume-core`, and `flume-client` took over the `flume-sdk` coordinates, so the clients depend on `flume-sdk` and the other modules on `flume-core`. Assisted-By: Claude Opus 5.5 <noreply@anthropic.com> * Remove the empty lines left by the dropped dependencies Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
flume-sdk,flume-configurationandflume-coreshared theorg.apache.flume,conf,instrumentationandserializationpackages, 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-sdkandflume-configurationare merged intoflume-core, without renaming any class. Plugins and agents depend onflume-core, as they depended onflume-ng-corein 1.x.flume-clientis renamed toflume-sdk. In 1.x, client applications usedflume-ng-sdk, the "Flume Client SDK" of the documentation, and no plugin depended on it withoutflume-ng-core. The API compatibility check now compares it withflume-ng-sdk1.11.0.SpillableMemoryChanneltoorg.apache.flume.channel.spillable, the environment variable and external process config filters toorg.apache.flume.configfilter.envand.external, and the classes oforg.apache.flume.toolsinflume-corenext to their users.flume-toolsandflume-config-filter-apikeep their packages. Thespillablememory,env,externalandhadoopaliases point to the new names.BasicTransactionSemantics.put()andtake()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:
HadoopCredentialStoreConfigFiltertoorg.apache.flume.configfilter.hadoop, which thehadoopalias now points to.flume-configurationdependencies and the plugin-API uses offlume-sdkwithflume-core, andflume-clientwithflume-sdk.🤖 Generated with Claude Code