Search in sources :

Example 1 with Stream

use of com.moilioncircle.redis.replicator.rdb.datatype.Stream in project rocketmq-externals by apache.

the class RedisEventHandlerTest method testStreamListPacks.

@Test
public void testStreamListPacks() {
    KVEntry builder = handlerTest(RDB_TYPE_STREAM_LISTPACKS, () -> {
        Stream stream = new Stream();
        return stream;
    });
    Stream va = (Stream) builder.getValue();
    Assert.assertNotNull(va);
}
Also used : KVEntry(org.apache.rocketmq.connect.redis.pojo.KVEntry) Stream(com.moilioncircle.redis.replicator.rdb.datatype.Stream) Test(org.junit.Test)

Aggregations

Stream (com.moilioncircle.redis.replicator.rdb.datatype.Stream)1 KVEntry (org.apache.rocketmq.connect.redis.pojo.KVEntry)1 Test (org.junit.Test)1