Skip to content

Commit a31c739

Browse files
denglimingmp911de
authored andcommitted
Add support to Redis Streams using Jedis.
Closes #1711 Original pull request: #1977.
1 parent 5756249 commit a31c739

File tree

4 files changed

+783
-1
lines changed

4 files changed

+783
-1
lines changed

Diff for: src/main/java/org/springframework/data/redis/connection/jedis/JedisConnection.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ public RedisKeyCommands keyCommands() {
189189
*/
190190
@Override
191191
public RedisStreamCommands streamCommands() {
192-
throw new UnsupportedOperationException("Streams not supported using Jedis!");
192+
return new JedisStreamCommands(this);
193193
}
194194

195195
/*

0 commit comments

Comments
 (0)