17
17
18
18
import static org .springframework .data .redis .connection .jedis .StreamConverters .*;
19
19
20
- import org .springframework .util .StringUtils ;
21
20
import redis .clients .jedis .BuilderFactory ;
22
21
import redis .clients .jedis .params .XAddParams ;
23
22
import redis .clients .jedis .params .XClaimParams ;
45
44
import org .springframework .data .redis .connection .stream .StreamOffset ;
46
45
import org .springframework .data .redis .connection .stream .StreamReadOptions ;
47
46
import org .springframework .util .Assert ;
47
+ import org .springframework .util .StringUtils ;
48
48
49
49
/**
50
50
* @author Dengliming
@@ -319,7 +319,7 @@ public List<ByteRecord> xRead(StreamReadOptions readOptions, StreamOffset<byte[]
319
319
320
320
try {
321
321
322
- List <byte [] > xread = connection .getCluster ().xread (xReadParams , toStreamOffsets (streams ));
322
+ List <? > xread = connection .getCluster ().xread (xReadParams , toStreamOffsets (streams ));
323
323
324
324
if (xread == null ) {
325
325
return Collections .emptyList ();
@@ -343,7 +343,7 @@ public List<ByteRecord> xReadGroup(Consumer consumer, StreamReadOptions readOpti
343
343
344
344
try {
345
345
346
- List <byte [] > xread = connection .getCluster ().xreadGroup (JedisConverters .toBytes (consumer .getGroup ()),
346
+ List <? > xread = connection .getCluster ().xreadGroup (JedisConverters .toBytes (consumer .getGroup ()),
347
347
JedisConverters .toBytes (consumer .getName ()), xReadParams , toStreamOffsets (streams ));
348
348
349
349
if (xread == null ) {
0 commit comments