Skip to content

Is it possible to support AWS MemoryDB AZ? #104

@nickngsr

Description

@nickngsr

AWS MemoryDB is currently limited to Valkey 7.3, and therefore there is no availability_zone presented on a HELLO, however it is present on an INFO SERVER.

HELLO 3:

1# "server" => "redis"
2# "version" => "7.3.0"
3# "proto" => (integer) 3
4# "id" => (integer) 70832
5# "mode" => "cluster"
6# "role" => "master"
7# "modules" => (empty array)

INFO SERVER:

# Server
redis_version:7.2.4
server_name:valkey
valkey_version:7.3.0
redis_git_sha1:0
redis_git_dirty:0
redis_build_id:0
redis_mode:cluster
os:Amazon MemoryDB
arch_bits:64
monotonic_clock:ARM CNTVCT @ 121 ticks/us
multiplexing_api:epoll
atomicvar_api:c11-builtin
gcc_version:0.0.0
process_id:1
run_id:
tcp_port:6379
server_time_usec:1768266036089426
uptime_in_seconds:1066504
uptime_in_days:12
hz:10
configured_hz:10
lru_clock:6658356
executable:-
config_file:-
availability_zone:eu-west-1b

Is there a method of retrieving that 'availability_zone' so we can use the ReadNodeSelector function?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions