Skip to content

[Feature]: RedisSnapshotSpec 为什么不支持lettuce的客户端 #1596

Closed

Description

@Roewudu12

/**

  • Convenience {@link SandboxSnapshotSpec} for Redis-backed snapshot storage.
    */
    public class RedisSnapshotSpec extends RemoteSnapshotSpec {

    /**

    • Creates a Redis snapshot spec.
    • @PARAM jedis initialized jedis client
    • @PARAM keyPrefix redis key prefix (optional)
    • @PARAM ttlSeconds optional TTL in seconds (null or negative means no TTL)
      */
      public RedisSnapshotSpec(UnifiedJedis jedis, String keyPrefix, Integer ttlSeconds) {
      super(new RedisRemoteSnapshotClient(jedis, keyPrefix, ttlSeconds));
      }
      }

Activity

  1. added
    enhancement
    on Jun 4, 2026
  2. added
    area/harness
    on Jun 4, 2026
  3. PoisonGodv commented on Oct 27, 2026

    @PoisonGodv
    Contributor

    Hi, I'd like to take this issue. Plan: add a Lettuce-backed RemoteSnapshotClient (accepting RedisCommands for standalone/sentinel and RedisAdvancedClusterCommands for cluster, mirroring the client types already supported by LettuceClientAdapter) and expose it through new RedisSnapshotSpec overloads, keeping the Jedis path and the key layout / TTL behavior unchanged. A PR is on the way.

  4. moved this from Backlog to In progress in AgentScope Javaon Oct 28, 2026
  5. moved this from In progress to Done in AgentScope Javaon Nov 12, 2026
  6. added a commit that references this issue on Nov 12, 2026
    ca5a2d3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/harnessenhancement

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions