You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the new API introduced with Java 21 runtime migration, a EventStreamWriter Ballerina wrapper class is no longer required to write the event stream to a Java OutputStream. The EventStreamWriter implementation can be removed, and all functionality can be shifted to the native side, reducing the overhead calling extern methods between the Ballerina and Java sides.
Current Limitation
With the new API introduced with Java 21 runtime migration, a
EventStreamWriter
Ballerina wrapper class is no longer required to write the event stream to a Java OutputStream. The EventStreamWriter implementation can be removed, and all functionality can be shifted to the native side, reducing the overhead calling extern methods between the Ballerina and Java sides.Suggested Improvement
A class similar to this https://github.com/ballerina-platform/module-ballerina-crypto/blob/master/native/src/main/java/io/ballerina/stdlib/crypto/BallerinaInputStream.java can be implemented in the mime native side.
Version
No response
The text was updated successfully, but these errors were encountered: