| Modifier and Type | Method and Description |
|---|---|
static XAddArgs |
idmp(byte[] producerId,
byte[] idempotentId)
Creates new
XAddArgs with IDMP (idempotent producer with explicit ID). |
static XAddArgs |
idmp(String producerId,
String idempotentId)
Creates new
XAddArgs with IDMP (idempotent producer with explicit ID). |
static XAddArgs |
idmpAuto(byte[] producerId)
Creates new
XAddArgs with IDMPAUTO (idempotent producer with auto-generated ID). |
static XAddArgs |
idmpAuto(String producerId)
Creates new
XAddArgs with IDMPAUTO (idempotent producer with auto-generated ID). |
static XAddArgs |
maxlen(long count)
Creates new
XAddArgs and setting MAXLEN. |
static XAddArgs |
minId(String minid)
Creates new
XAddArgs and setting MINID. |
static XAddArgs |
nomkstream()
Creates new
XAddArgs and setting NOMKSTREAM. |
public static XAddArgs maxlen(long count)
XAddArgs and setting MAXLEN.XAddArgs with MAXLEN set.XAddArgs.maxlen(long)public static XAddArgs nomkstream()
XAddArgs and setting NOMKSTREAM.XAddArgs with NOMKSTREAM set.XAddArgs.nomkstream()public static XAddArgs minId(String minid)
XAddArgs and setting MINID.minid - the oldest ID in the stream will be exactly the minimum between its original oldest ID and the specified
threshold.XAddArgs with MINID set.XAddArgs.minId(String)public static XAddArgs idmp(byte[] producerId, byte[] idempotentId)
XAddArgs with IDMP (idempotent producer with explicit ID).producerId - the producer ID (must be unique per producer).idempotentId - the idempotent ID (must be unique per message).XAddArgs with IDMP set.XAddArgs.idmp(byte[], byte[])public static XAddArgs idmp(String producerId, String idempotentId)
XAddArgs with IDMP (idempotent producer with explicit ID).producerId - the producer ID (must be unique per producer).idempotentId - the idempotent ID (must be unique per message).XAddArgs with IDMP set.XAddArgs.idmp(String, String)public static XAddArgs idmpAuto(byte[] producerId)
XAddArgs with IDMPAUTO (idempotent producer with auto-generated ID).producerId - the producer ID (must be unique per producer).XAddArgs with IDMPAUTO set.XAddArgs.idmpAuto(byte[])public static XAddArgs idmpAuto(String producerId)
XAddArgs with IDMPAUTO (idempotent producer with auto-generated ID).producerId - the producer ID (must be unique per producer).XAddArgs with IDMPAUTO set.XAddArgs.idmpAuto(String)Copyright © 2026 lettuce.io. All rights reserved.