APIActive

Redis Streams XADD

Appends a stream entry to a Redis stream, with optional trimming, idempotent processing, and auto-generated IDs.

Open source page

Field note

What it does

Redis command that appends entries to a stream at a specified key, with support for auto-generated IDs, stream trimming via MAXLEN/MINID, idempotent message processing, and consumer group reference handling.

Capabilities

Available capabilities

Tags

Tags

Ways to use it

Ways to use it

sdk

Python / redis

sdk

JavaScript / redis

sdk

Java / redis.clients:jedis

Product features

Product features

Code Examples Legend

Examples

Java (Synchronous - Jedis)

JavaScript (Node.js)

Python

Redis CLI

Redis Streams

Ruby

Rust (Asynchronous)

Stream command summary

Stream command summary (part 2)

Stream command summary (part 3)