It looks like API Gateway just received WebSocket support! https://aws.amazon.com/blogs/compute/announcing-websocket-apis-in-amazon-api-gateway/
I see there are new descriptors for apigatewayv2, and apigatewaymanagementapi. Both 11-29-2018. https://github.com/aws/aws-sdk-js/tree/master/apis
Issue for WebSocket support in the aws-api
project: https://github.com/cognitect-labs/aws-api/issues/29
I’m using the com.cognitect.aws/api library (which is fantastic). I’m seeing a “WARNING: An illegal reflective access operation has occurred” message. Everything works, but the message is annoying. Has anyone else encountered this?
@aaelony What version of java are you running?
$ java -version
openjdk version "11.0.1" 2018-10-16
OpenJDK Runtime Environment 18.9 (build 11.0.1+13)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.1+13, mixed mode)
Does it mention which dependency is the culprit? Moving over to Java 11 from Java 8 causes a lot of illegal reflective access op warnings for many libraries. For us it was specifically the protobuf library which isn’t fully supported for Java 11 yet. I’m not seeing this occur with com.cognitect.aws/api on java 11 however so it might be another dependency in your code.
Here’s the full set of warnings to the console:
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.eclipse.jetty.util.BufferUtil (file:/Users/aaelony/.m2/repository/org/eclipse/jetty/jetty-util/9.3.7.v20160115/jetty-util-9.3.7.v20160115.jar) to field java.nio.MappedByteBuffer.fd
WARNING: Please consider reporting this to the maintainers of org.eclipse.jetty.util.BufferUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
probably not the right place to post in the #aws channel, I suppose