Skip to content

Correct SDK documentation and examples - #729

Draft
teodordelibasic-db wants to merge 2 commits into
mainfrom
codex/audit-sdk-snippets
Draft

Correct SDK documentation and examples#729
teodordelibasic-db wants to merge 2 commits into
mainfrom
codex/audit-sdk-snippets

Conversation

@teodordelibasic-db

Copy link
Copy Markdown
Collaborator

What changes are proposed in this pull request?

Correct README snippets, checked-in examples, and public API doc examples across the SDKs so they compile and demonstrate the current APIs. The changes also align ingestion examples on queue-then-flush durability, correct recovery and callback semantics, and add a runnable generated-message fixture for the .NET Protobuf example.

The accompanying snippet-audit.md records every correction and lists functional SDK issues discovered during validation. Those functional issues are intentionally left unchanged for separate follow-up work.

How is this tested?

All runnable examples and executable documentation snippets were compiled or type-checked for Rust, Python, Java, Go, pure Go, TypeScript, C++, and .NET. Representative JSON, Protobuf, Arrow, batch, recovery, and custom-header paths were also exercised against local test endpoints.

The affected SDK formatters, linters, unit tests, example builds, and doc tests pass. The .NET suite passes 47 unit and 54 integration tests. TypeScript build, tests, and example type-check pass; its all-features Clippy check still reports three pre-existing warnings unrelated to these documentation changes. The C++ Arrow example was source-reviewed but not linked because Apache Arrow C++ was unavailable; the other C++ examples built and their JSON batch and custom-header paths were exercised.

Signed-off-by: teodordelibasic-db <teodor.delibasic@databricks.com>
Signed-off-by: teodordelibasic-db <teodor.delibasic@databricks.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant