concord-client

Crates.ioconcord-client
lib.rsconcord-client
version0.0.5
sourcesrc
created_at2024-07-28 21:14:29.559544
updated_at2024-08-28 02:58:05.542759
descriptionA client library for walmartlabs/concord written in async Rust
homepage
repository
max_upload_size
id1318251
size26,941
Ivan Bodrov (ibodrov)

documentation

README

concord-client

A work-in-progress high-level wrapper for Concord API. Uses tokio for async I/O.

Depends on reqwest and tokio-tungstenite for HTTP and WebSocket support, respectively.

Status

  • basic QueueClient implementation:
    • maintains a WebSocket connection to the Concord server
    • provides high-level API like next_process and next_command
    • graceful shutdown
    • automatic re-connection on errors
    • timeouts
  • basic ApiClient implementation:
    • can update process status
    • download process state
    • create and update log segments
    • timeouts
    • everything else

Code Conventions

  • warn! and error! messages should include how likely the error is a bug: (possibly a bug), (likely a bug), etc. ApiError messages, however, should not include this information, as the interpretation of the error is up to the caller.
Commit count: 0

cargo fmt