XADD
Appends an entry with a specified ID to a stream.
Streams · Example verified
Syntax covered here
XADD key id field valueThe cases supply explicit increasing IDs and one field-value pair per entry.
Tested example & replies
Requests below run in order against an empty database. Each connection authenticates with the fixture password first. Quoted values are strings; null is a nil reply; arrays preserve RESP order.
# connection: default
> XADD events 1-0 event created
"1-0"
# connection: default
> XADD events 2-0 event updated
"2-0"