Implements an event service and demonstrates its use for sending/receiving SSL key/trust store changes
Intended as a means to discuss what the implementation for https://github.com/apache/logging-log4j2/issues/3074#issuecomment-2446935514 should look like
Checklist
- Base your changes on
2.xbranch if you are targeting Log4j 2; usemainotherwise ./mvnw verifysucceeds (if it fails due to code formatting issues reported by Spotless, simply run./mvnw spotless:applyand retry)- Non-trivial changes contain an entry file in the
src/changelog/.2.x.xdirectory - Tests for the changes are provided
- Commits are signed (optional, but highly recommended)
Generated by gradle/develocity-actions
The PR looks nice, but I need some time to analyze the existing code to see if we can reuse something. WatchManager looks reusable, but it works in a complex way.
Instead of a fully-blown event bus that is publicly exposed, can we make this private and as small as possible, please? I agree with @ppkarwasz that we shall seek to use existing file watching mechanisms available, if possible.
Hi @MichaelMorrisEst,
Since #2767 was merged instead, I think we can close this PR. Any objections?
That's fine, not needed now we have #2767