Skip to content

task(config): Add circuit breaker configuration support #474

Description

@currantw

Description

Add ClientCircuitBreakerConfiguration to the client configuration, matching the existing implementation in Java, Python, Node, and Go (valkey-io/valkey-glide#6050). The circuit breaker logic lives in the Rust core, this task only requires adding the config class, serializing it to protobuf, and surfacing the CircuitBreakerException type to callers.

Checklist

  • Add ClientCircuitBreakerConfiguration class with builder/options pattern
  • Serialize config to protobuf ConnectionRequest
  • Add CircuitBreakerException type
  • Add unit test for config serialization

Related

Additional Information

⚪ None

Metadata

Metadata

Assignees

Labels

coreCore library (`sources/Valkey.Glide/`)

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions