LangQi99 opened a new pull request, #11968:
URL: https://github.com/apache/inlong/pull/11968
Fixes #11914
### Motivation
Currently, the Dataproxy C++ SDK only supports data reporting via TCP and
UDP. Although the DataProxy server provides an API for HTTP reporting, this
functionality is not integrated into the C++ SDK. This forces users to write
their own HTTP client code, increasing complexity. This pull request aims to
integrate HTTP reporting directly into the C++ SDK to provide a more
comprehensive and user-friendly experience, as described in the official
documentation.
### Modifications
- Integrated a new module within the C++ SDK to handle HTTP-based data
reporting.
- Implemented the logic to send data records to the DataProxy via HTTP POST
requests.
### Verifying this change
*(Please pick either of the following options)*
- [ ] This change is a trivial rework/code cleanup without any test coverage.
- [ ] This change is already covered by existing tests, such as:
*(please describe tests)*
- [x] This change added tests and can be verified as follows:
*(example:)*
- *Added demo for the new HTTP reporting client.*
### Documentation
- Does this pull request introduce a new feature? (yes / no)
**yes**
- If yes, how is the feature documented? (not applicable / docs / JavaDocs
/ not documented)
**not documented**
- If a feature is not applicable for documentation, explain why?
**not documented**
- If a feature is not documented yet in this PR, please create a follow-up
issue for adding the documentation
**Documentation will be updated as part of this PR.**
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]