I recommend to take a look at Gerolf’s answer in Active Contract Set Service returns a Stream Arrays/List: how big can the arrays/List be per event in the stream? - #6 by gerolf. The Java APIs give you a stream of GetActiveContractsResponse. Usually those are singleton lists. I think under high load it can include more elments up to a constant batch size. I believe that batch size is 1000 from a quick look at the code but @gerolf can probably confirm that.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Active Contract Set Service returns a Stream Arrays/List: how big can the arrays/List be per event in the stream? | 6 | 299 | June 20, 2022 | |
Java Bindings: ledgerClient.activeContractSetClient.getActiveContracts returns flowable but is it actually a stream? | 9 | 263 | June 15, 2022 | |
Large Java Ledger API gRPC messages and RESOURCE_EXHAUSTED | 3 | 522 | February 10, 2021 | |
Best way to get count of active contracts for a specific template | 8 | 428 | February 19, 2025 | |
Batching and ordering on the active contracts service | 2 | 349 | March 9, 2021 |