File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -21,9 +21,12 @@ dependencies {
2121 implementation ' com.squareup.okhttp3:logging-interceptor:4.12.0'
2222 implementation ' io.github.rburgst:okhttp-digest:2.7'
2323
24- // https://eclipse-ee4j.github.io/angus-mail/ recommends using these two separate dependencies.
25- implementation " jakarta.mail:jakarta.mail-api:2.1.3"
26- implementation " org.eclipse.angus:angus-mail:2.0.3"
24+ // We tried upgrading to the org.eclipse.angus:angus-mail dependency, but we ran into significant performance issues
25+ // with using the Java Client eval call in our Spark connector. Example - an eval() call for getting 50k URIs would
26+ // take 50s instead of 2 to 3s. Haven't dug into the details, but seems like the call isn't lazy and the entire set
27+ // of URIs is being retrieved. This implementation - in the old "com.sun.mail" package but still adhering to the new
28+ // jakarta.mail API - works fine and performs well for eval calls.
29+ implementation " com.sun.mail:jakarta.mail:2.0.1"
2730
2831 implementation ' javax.ws.rs:javax.ws.rs-api:2.1.1'
2932 implementation ' org.slf4j:slf4j-api:1.7.36'
You can’t perform that action at this time.
0 commit comments