sripathikrishnan / redis-rdb-tools

Parse Redis dump.rdb files, Analyze Memory, and Export Data to JSON
https://rdbtools.com
MIT License
5.1k stars 744 forks source link

Redis5.0 Stream is not support? #155

Closed Tinywan closed 5 years ago

Tinywan commented 5 years ago

redis data

127.0.0.1:6379> XRANGE stream01 - + 
 1) 1) "1559718879333-0"            
    2) 1) "name"                    
       2) "123"                     
 2) 1) "1559718879333-1"            
    2) 1) "name"                    
       2) "123dd"                   
 3) 1) "1559718879333-2"            
    2) 1) "name"                    
       2) "123dddd"                 
 4) 1) "1559718879333-3"            
    2) 1) "name"                    
       2) "123dddd"                 
 5) 1) "1559718879333-4"            
    2) 1) "name"                    
       2) "123dddd"                 
 6) 1) "1559718879333-5"            
    2) 1) "name"                    
       2) "123dddd"                 

rdb.exe

λ rdb.exe --command json dump.rdb
[{
"List01":["11","22","33","44","55","66"],
"stream01":{},
"name":"11"}]
oranagra commented 5 years ago

@Tinywan the streams support at the moment is just in the memory analyzing aspects. no support in the json and other features, since we didn't implement listpack decoding yes. PRs are welcome 8-)

Tinywan commented 5 years ago

@oranagra OK