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

   Stacked on #528: review and merge that one first, then this PR's base will 
switch to `trunk`.
   
   Second step of replacing the `*Type` enums with `ServiceLoader` providers: 
the modules of this repository register their own `type` aliases, so 
`flume-core` no longer needs their class names.
   
   - Sources: `taildir`, `syslogtcp`, `multiport_syslogtcp`, `syslogudp`, 
`netcatudp`.
   - Channels: `file`, `spillablememory`.
   - Configuration filters: `env`, `external`. These implement 
`org.apache.flume.configfilter.ConfigFilterProvider` from 
`flume-config-filter-api`, so the filter modules still don't depend on 
`flume-core`.
   
   Each module gets a nested `Provider` class annotated with `@ServiceProvider` 
and a test that checks the registration through `ServiceLoader`.
   
   `CipherProviderType` and `KeyProviderType` in `flume-file-channel` are left 
unchanged: they only reference classes of the same module.
   
   ## Known limitation
   
   No Flume module exports any package yet (logging-parent only exports 
packages annotated with `@Export`), so on the module path the `provides` 
clauses generated here fail to resolve. On the classpath, which `bin/flume-ng` 
uses, everything works. This will be fixed in a separate PR that adds `@Export` 
to the public API packages.
   
   🤖 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