Repository navigation
docs(java/examples): Future AGI accepts gzip; keep uncompressed export optional - #307
Merged
Merged
Conversation
…t optional The Arconia and Quarkus examples said Future AGI rejects gzip bodies. Future AGI Cloud and self-hosted collectors from v1.56.0 accept gzip (otlp_gzip.go ships in v1.56.0 and v1.56.1). The examples still send uncompressed bodies, which also works with older self-hosted collectors; only the comments, README line, an assertion message and one test name change. Matches docs#975 and docs#982. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
The Arconia and Quarkus LangChain4j examples said the Future AGI collector rejects gzip bodies. That is no longer true: Future AGI Cloud and self-hosted collectors from v1.56.0 accept gzip (
pkg/server/otlp_gzip.goships in v1.56.0 and v1.56.1 and is absent in v1.55.0; a gzip OTLP request to the hosted collector returns HTTP 200).The examples keep sending uncompressed bodies, which also works with older self-hosted collectors. Only wording changes:
arconia-example/README.md:compression: noneis now described as optional, with the version note.arconia-example/application.yaml: the comment oncompression: none.ArconiaExportTest: the assertion message, and the test name...MustSetNone→...SetsNoneExplicitly.quarkus-langchain4j-example/application.properties: the comment.This matches the docs pages already merged in future-agi/docs#975 (Arconia) and #982 (Quarkus).
Testing
mvn testinjava/examples/arconia-example: 11 tests, 0 failures.mvn testinjava/examples/quarkus-langchain4j-example: 14 tests, 0 failures.Both ran against the dev reactor installed locally with JDK 21. No overlap with #302, which only edits these examples'
pom.xmlfiles.🤖 Generated with Claude Code