diff --git a/README.md b/README.md
index 9b9622cc..8ebb7b96 100644
--- a/README.md
+++ b/README.md
@@ -13,7 +13,7 @@ rdb version 7
com.moilioncircle
redis-replicator
- 1.0.2
+ 1.0.3
```
@@ -41,7 +41,7 @@ rdb version 7
##File
```java
- RedisReplicator replicator = new RedisReplicator(new File("dump.rdb"));
+ RedisReplicator replicator = new RedisReplicator(new File("dump.rdb"), Configuration.defaultSetting());
replicator.addRdbFilter(new RdbFilter() {
@Override
public boolean accept(KeyValuePair> kv) {
diff --git a/pom.xml b/pom.xml
index 433159f0..83b1af25 100644
--- a/pom.xml
+++ b/pom.xml
@@ -22,7 +22,7 @@
com.moilioncircle
redis-replicator
- 1.0.2
+ 1.0.3
redis-replicator
Redis Replicator is a redis RDB and Command parser written in java.
diff --git a/src/main/java/com/moilioncircle/redis/replicator/AbstractReplicator.java b/src/main/java/com/moilioncircle/redis/replicator/AbstractReplicator.java
index 115b67bb..cc7c18f3 100644
--- a/src/main/java/com/moilioncircle/redis/replicator/AbstractReplicator.java
+++ b/src/main/java/com/moilioncircle/redis/replicator/AbstractReplicator.java
@@ -24,6 +24,7 @@
import com.moilioncircle.redis.replicator.rdb.datatype.KeyValuePair;
import java.util.List;
+import java.util.concurrent.BlockingQueue;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.CopyOnWriteArrayList;
@@ -32,11 +33,13 @@
*/
public abstract class AbstractReplicator implements Replicator {
protected RedisInputStream inputStream;
+ protected BlockingQueue