XREAD - 读取消息

Request/Response
从一个或多个流中读取消息。

Basic Info

Mode
Request/Response
Endianness
big-endian
Charset
utf8
Newline
default

Communicator

Connection Name
默认服务器

Request Parameter

Format
raw
Escape
No
Newline Style
CRLF
Charset
utf8
Text Template raw
*8
$5
XREAD
$5
COUNT
${{count.length}}
{{count}}
$5
BLOCK
${{block.length}}
{{block}}
$7
STREAMS
${{key.length}}
{{key}}
${{id.length}}
{{id}}

Template Variables

count
可选,每次调用返回的最大消息数 10
block
可选,阻塞等待新消息的毫秒数,0为无限阻塞 5000
key
要读取的流键名 mystream
id
每个流对应的起始ID 0-0

Response Parser

Format
raw
Line Wrapping
No
Append Newline
No
Show Timestamp
No
Clear on Execute
No
Scroll to Bottom
No