mirror of
https://github.com/PowerJob/PowerJob.git
synced 2025-07-17 00:00:04 +08:00
feat: upgrade serialier to kryo5
This commit is contained in:
parent
e767ad1043
commit
ddabdf2187
@ -75,8 +75,8 @@
|
||||
|
||||
<!-- kryo 超超超高性能序列化框架 -->
|
||||
<dependency>
|
||||
<groupId>com.esotericsoftware</groupId>
|
||||
<artifactId>kryo</artifactId>
|
||||
<groupId>com.esotericsoftware.kryo</groupId>
|
||||
<artifactId>kryo5</artifactId>
|
||||
<version>${kryo.version}</version>
|
||||
</dependency>
|
||||
|
||||
@ -91,8 +91,6 @@
|
||||
<version>${jackson.version}</version>
|
||||
</dependency>
|
||||
|
||||
|
||||
|
||||
<!-- Junit tests -->
|
||||
<dependency>
|
||||
<groupId>org.junit.jupiter</groupId>
|
||||
|
@ -4,6 +4,7 @@ import akka.serialization.JSerializer;
|
||||
|
||||
/**
|
||||
* Using custom serializers for akka-remote
|
||||
* https://doc.akka.io/docs/akka/current/serialization.html
|
||||
*
|
||||
* @author tjq
|
||||
* @since 2021/3/21
|
||||
|
@ -1,9 +1,9 @@
|
||||
package tech.powerjob.common.serialize;
|
||||
|
||||
|
||||
import com.esotericsoftware.kryo.Kryo;
|
||||
import com.esotericsoftware.kryo.io.Input;
|
||||
import com.esotericsoftware.kryo.io.Output;
|
||||
import com.esotericsoftware.kryo.kryo5.Kryo;
|
||||
import com.esotericsoftware.kryo.kryo5.io.Input;
|
||||
import com.esotericsoftware.kryo.kryo5.io.Output;
|
||||
|
||||
/**
|
||||
* 序列化器
|
||||
|
Loading…
x
Reference in New Issue
Block a user