Retrospection opened a new pull request, #7128:
URL: https://github.com/apache/opendal/pull/7128

   ## Summary
   
   This PR adds support for additional layers to the Java bindings to align 
with Python and Node.js bindings.
   
   ### Added Layers
   
   - **MimeGuessLayer**: Automatically set Content-Type based on file extension
   - **TimeoutLayer**: Add timeout for operations (both IO and non-IO)
   - **LoggingLayer**: Add structured logging for all operations
   - **HotpathLayer**: Add hotpath profiling for performance analysis
   
   ### Changes
   
   - Added 4 new Java layer classes in 
`bindings/java/src/main/java/org/apache/opendal/layer/`
   - Added corresponding JNI implementations in `bindings/java/src/layer.rs`
   - Updated `bindings/java/Cargo.toml` to enable required features
   - Added tests in 
`bindings/java/src/test/java/org/apache/opendal/test/LayerTest.java`
   
   ### Testing
   
   All 7 layer tests pass:
   - `testOperatorWithRetryLayer`
   - `testOperatorWithConcurrentLimitLayer`
   - `testOperatorWithMimeGuessLayer`
   - `testOperatorWithTimeoutLayer`
   - `testOperatorWithLoggingLayer`
   - `testOperatorWithThrottleLayer`
   - `testOperatorWithHotpathLayer`
   
   ### Issue
   
   Closes #6738


-- 
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