akka/akka-core

Serialization compatibility testkit

オープン

#24,623 opened on 2018/02/26

 (7 件のコメント) (1 件のリアクション) (0 人の担当者)Scala (3,547 件のフォーク)batch import
1 - triagedhelp wantedt:clustert:remotingt:serialization

Repository metrics

Stars
 (13,277 個のスター)
PR merge metrics
 (平均マージ 8d 19h) (30d で 10 merged PRs)

説明

To prevent issues like #24622 we could try to create a testkit that helps testing that the binary protocol stays compatible. For each serializer and each compatible version with changes you could create binary test data to make sure the serializer is still able to read that data.

It should be somewhat simple to test the direction binary => Java object while the other direction, that the new protocol is still compatible with the old one is harder to achieve (because it will probably be hard to load and execute the old serializer to verify that it can read binary data created with a newer version).

コントリビューターガイド