[
https://issues.apache.org/jira/browse/CAMEL-26840?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Work on CAMEL-26840 started by Andrea Cosentino.
------------------------------------------------
> camel-openfga - support native server-side BatchCheck
> -----------------------------------------------------
>
> Key: CAMEL-26840
> URL: https://issues.apache.org/jira/browse/CAMEL-26840
> Project: Camel
> Issue Type: Improvement
> Reporter: Andrea Cosentino
> Assignee: Andrea Cosentino
> Priority: Major
> Labels: authorization, camel-openfga, component-audit
>
> h2. Problem / motivation
> OpenFgaProducer.batchCheck uses clientBatchCheck, which fans out individual
> Check calls. The SDK also exposes native server batching, reducing HTTP
> overhead for supported servers.
> h2. Proposed scope
> Add an explicit server-batch mode with compatible client-fan-out behavior.
> Chunk to server/SDK limits, correlate responses to the original input
> including duplicates, preserve existing filtering/error semantics and enforce
> a total deadline. Keep operation and model selection configured by the
> endpoint.
> h2. Acceptance criteria / validation
> * Cover chunk boundaries, response reordering, duplicate objects, partial
> item errors, retries, cancellation and total deadline.
> * Document supported server versions and mode selection.
> * Preserve the fixes from CAMEL-26408 and CAMEL-26197.
> h2. References
> *
> https://github.com/apache/camel/blob/5686684cb418/components/camel-openfga/src/main/java/org/apache/camel/component/openfga/OpenFgaProducer.java#L183
> * https://github.com/openfga/java-sdk#batch-check
> 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)