diff --git a/redisson/pom.xml b/redisson/pom.xml
index 20d711bca..0cbc95d7c 100644
--- a/redisson/pom.xml
+++ b/redisson/pom.xml
@@ -212,7 +212,7 @@
com.esotericsoftwarekryo
- 4.0.2
+ 5.0.0-RC4providedtrue
diff --git a/redisson/src/main/java/org/redisson/codec/Kryo5Codec.java b/redisson/src/main/java/org/redisson/codec/Kryo5Codec.java
new file mode 100644
index 000000000..b275c702e
--- /dev/null
+++ b/redisson/src/main/java/org/redisson/codec/Kryo5Codec.java
@@ -0,0 +1,148 @@
+/**
+ * Copyright (c) 2013-2019 Nikita Koksharov
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.redisson.codec;
+
+import com.esotericsoftware.kryo.Kryo;
+import com.esotericsoftware.kryo.io.Input;
+import com.esotericsoftware.kryo.io.Output;
+import com.esotericsoftware.kryo.util.Pool;
+import io.netty.buffer.ByteBuf;
+import io.netty.buffer.ByteBufAllocator;
+import io.netty.buffer.ByteBufInputStream;
+import io.netty.buffer.ByteBufOutputStream;
+import org.redisson.client.codec.BaseCodec;
+import org.redisson.client.handler.State;
+import org.redisson.client.protocol.Decoder;
+import org.redisson.client.protocol.Encoder;
+
+import java.io.IOException;
+import java.util.Collections;
+import java.util.List;
+
+/**
+ *
+ * @author Nikita Koksharov
+ *
+ */
+public class Kryo5Codec extends BaseCodec {
+
+ private final Pool kryoPool;
+ private final Pool inputPool;
+ private final Pool