{"id":17970436,"url":"https://github.com/questdb/c-questdb-client","last_synced_at":"2025-04-13T08:39:48.742Z","repository":{"id":37081007,"uuid":"465011315","full_name":"questdb/c-questdb-client","owner":"questdb","description":"Rust, C and C++ client for QuestDB InfluxDB Line Protocol","archived":false,"fork":false,"pushed_at":"2024-09-04T10:07:04.000Z","size":731,"stargazers_count":47,"open_issues_count":5,"forks_count":13,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-10-29T16:59:36.843Z","etag":null,"topics":["c11","client-library","cpp17","questdb","questdb-ilp-client","rust"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/questdb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-03-01T18:30:02.000Z","updated_at":"2024-10-08T06:56:00.000Z","dependencies_parsed_at":"2023-12-11T13:11:05.260Z","dependency_job_id":"bd975f0d-f5b0-4965-823c-3f5f8a4d4728","html_url":"https://github.com/questdb/c-questdb-client","commit_stats":{"total_commits":104,"total_committers":8,"mean_commits":13.0,"dds":0.5576923076923077,"last_synced_commit":"ace6db7e4555e8a9f240537321c64cb96a737310"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/questdb%2Fc-questdb-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/questdb%2Fc-questdb-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/questdb%2Fc-questdb-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/questdb%2Fc-questdb-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/questdb","download_url":"https://codeload.github.com/questdb/c-questdb-client/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248685297,"owners_count":21145248,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c11","client-library","cpp17","questdb","questdb-ilp-client","rust"],"created_at":"2024-10-29T15:05:22.223Z","updated_at":"2025-04-13T08:39:48.719Z","avatar_url":"https://github.com/questdb.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# c-questdb-client\n**QuestDB - Client Library for Rust, C and C++**\n\nThis library makes it easy to insert data into [QuestDB](https://questdb.io/).\n\nThis client library implements the [InfluxDB Line Protocol](\nhttps://questdb.io/docs/reference/api/ilp/overview/) (ILP) over HTTP and TCP.\n\n* Implementation is in Rust, with no additional\n  [run-time or link-time dependencies](doc/BUILD.md#pre-requisites-and-dependencies)\n  on the C++ standard library or other libraries.\n* We ship both a static and a dynamic library.\n* The library exposes Rust, C11 and C++17 APIs.\n* The C++ API is a header-only wrapper over the C API.\n* This library also has separate Python bindings.\n\n## Insertion Protocols Overview\n\nInserting data into QuestDB can be done in several ways.\n\nThis library supports ILP/HTTP (default-recommended) and ILP/TCP (specific\nstreaming use cases).\n\n| Protocol | Record Insertion Reporting | Data Insertion Performance |\n| -------- | -------------------------- | -------------------------- |\n| **[ILP/HTTP](https://questdb.io/docs/reference/api/ilp/overview/)** | Transaction-level (on flush) | **Excellent** |\n| [ILP/TCP](https://questdb.io/docs/reference/api/ilp/overview/)| Errors in logs; Disconnect on error | **Best** (tolerates higher-latency networks) |\n| [CSV Upload via HTTP](https://questdb.io/docs/reference/api/rest/#imp---import-data) | Configurable | Very Good |\n| [PostgreSQL](https://questdb.io/docs/reference/api/postgres/) | Transaction-level | Good |\n\nServer errors are only reported back to the client for ILP/HTTP.\nSee the [flush troubleshooting](doc/CONSIDERATIONS.md) docs for more details on\nhow to debug ILP/TCP.\n\nFor an overview and code examples, see the\n[Ingestion overview page of the developer docs](https://questdb.io/docs/ingestion-overview/). \n\nTo understand the protocol in more depth, consult the\n[protocol reference docs](https://questdb.io/docs/reference/api/ilp/overview/).\n\n## Getting Started\n\nTo get started, read the language-specific guides.\n\n**C**\n* [Getting started with C](doc/C.md)\n* [`.h` header file](include/questdb/ingress/line_sender.h)\n\n**C++**\n* [Getting started with C++](doc/CPP.md)\n* [`.hpp` header file](include/questdb/ingress/line_sender.hpp)\n\n**Rust**\n* [Getting started with Rust](questdb-rs/README.md)\n* [`questdb-rs` crate on crates.io](https://crates.io/crates/questdb-rs)\n* [API docs on docs.rs](https://docs.rs/questdb-rs/latest/)\n* [`questdb-rs` source code](questdb-rs)\n* [`questdb-rs-ffi` source code](questdb-rs-ffi) - C bindings code\n\n**Python**\n* [Python GitHub Repo](https://github.com/questdb/py-questdb-client/)\n* [`questdb` package on PyPI](https://pypi.org/project/questdb/)\n* [Documentation](https://py-questdb-client.readthedocs.io/en/latest/)\n\n## Further Topics\n\n* [Data quality and threading considerations](doc/CONSIDERATIONS.md)\n* [Authentication and TLS encryption](doc/SECURITY.md)\n\n## Community\n\nIf you need help, have additional questions or want to provide feedback, you\nmay find us on our [Community Forum](https://community.questdb.io/).\n\nYou can also [sign up to our mailing list](https://questdb.io/contributors/)\nto get notified of new releases.\n\n## License\n\nThe code is released under the [Apache License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquestdb%2Fc-questdb-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquestdb%2Fc-questdb-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquestdb%2Fc-questdb-client/lists"}