Andrea Cosentino created CAMEL-26842:
----------------------------------------
Summary: camel-openfga - support streamed object queries with
cancellation
Key: CAMEL-26842
URL: https://issues.apache.org/jira/browse/CAMEL-26842
Project: Camel
Issue Type: Improvement
Reporter: Andrea Cosentino
Assignee: Andrea Cosentino
h2. Problem / motivation
listObjects materializes a complete response list. The OpenFGA API/SDK also
exposes streamedListObjects for incremental object results.
h2. Proposed scope
Add a distinct streaming operation with a well-defined Camel result contract,
cancellation/backpressure and configurable result bounds. Do not represent the
ordinary listObjects operation as a paginated API.
h2. Acceptance criteria / validation
* Cover successful stream, cancellation, result-size bound, partial stream
failure and resource cleanup.
* Preserve configured model/consistency/context options supported by the
streaming API.
* Document how callers distinguish complete results from interrupted streams.
h2. References
*
https://github.com/apache/camel/blob/5686684cb418/components/camel-openfga/src/main/java/org/apache/camel/component/openfga/OpenFgaProducer.java#L249
* https://github.com/openfga/java-sdk
Source: read-only component audit at 5686684cb418. Recheck current main before
implementing; historical references identify the audited code.
_AI-generated by Codex on behalf of oscerd (JIRA: acosentino)._
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)