akka-remote serializable warning

后端 未结 2 486
不知归路
不知归路 2021-02-09 22:42

I was playing with akka remoting and created a small Scala application which sends messages to other Scala apps. That was fine, the receiver application managed to receive the m

2条回答
  •  日久生厌
    2021-02-09 23:26

    I think lutzh's answer is quite complete. I can only add that if you want to disable this warning you should set following configuration setting:

    akka {
      actor {
        warn-about-java-serializer-usage = false
      }
    }
    

    Using Java serialization is fine if you are only testing, playing around or don't care about performance for any reason.

提交回复
热议问题