#status #process #segment #client #detail #timeout #drop #state #server #concord

concord-client

A client library for walmartlabs/concord written in async Rust

9 releases

Uses new Rust 2024

new 0.0.9 May 1, 2025
0.0.8 Apr 30, 2025
0.0.6 Mar 27, 2025
0.0.5 Aug 28, 2024
0.0.1 Jul 28, 2024

#820 in HTTP server

Download history 1/week @ 2025-01-30 5/week @ 2025-02-06 3/week @ 2025-02-13 135/week @ 2025-03-27 143/week @ 2025-04-03 1/week @ 2025-04-10 2/week @ 2025-04-17

281 downloads per month

Apache-2.0

34KB
834 lines

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 (on drop)
    • timeouts
  • basic ApiClient implementation:
    • start a process
    • get process details
    • 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.

Dependencies

~9–21MB
~281K SLoC