我曾计划用python statefun示例(链接:https://github.com/apache/flink-statefun/tree/master/statefun-examples/statefun-python-greeter-example)来交流嵌入式有状态函数 但是(总会有一个但是)我一直在努力构建python发行版。tried to described 我的pip版本:19.2.3 我的
我使用的是FlinkStateFun 3.1.0,并希望从嵌入式函数中调用远程Python函数。在StateFun 2.2中,我可以通过ProtoBuf (通过Protobuf生成) Java类的实例通过Any.pack(msg)创建Protobuf Any,这是可行的。by: java.lang.ClassCastException: class com.google.protobuf.Any cannot be cast to class org.apache.flink.statefun.sdk.