Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ibodrov/concord-client-rs
A work-in-progress high-level wrapper for walmartlabs/concord API in Rust
https://github.com/ibodrov/concord-client-rs
api client concord rust walmartlabs
Last synced: 18 days ago
JSON representation
A work-in-progress high-level wrapper for walmartlabs/concord API in Rust
- Host: GitHub
- URL: https://github.com/ibodrov/concord-client-rs
- Owner: ibodrov
- Created: 2024-07-28T21:12:39.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-10-30T03:24:59.000Z (18 days ago)
- Last Synced: 2024-10-30T06:22:14.423Z (18 days ago)
- Topics: api, client, concord, rust, walmartlabs
- Language: Rust
- Homepage:
- Size: 114 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# concord-client
A work-in-progress high-level wrapper for [Concord](https://github.com/walmartlabs/concord/) API.
Uses [tokio](https://tokio.rs/) for async I/O.Depends on [reqwest](https://github.com/seanmonstar/reqwest) and
[tokio-tungstenite](https://github.com/snapview/tokio-tungstenite/) for HTTP and
WebSocket support, respectively.## Status
- basic [QueueClient](src/queue_client.rs) implementation:
- [x] maintains a WebSocket connection to the Concord server
- [x] provides high-level API like `next_process` and `next_command`
- [ ] graceful shutdown
- [ ] automatic re-connection on errors
- [ ] timeouts
- basic [ApiClient](src/api_client.rs) implementation:
- [x] can update process status
- [x] download process state
- [x] 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.