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 | |
|---|---|---|---|---|
| Java Bindings: ledgerClient.activeContractSetClient.getActiveContracts returns flowable but is it actually a stream? | 9 | 284 | June 15, 2022 | |
| Active Contract Set Service returns a Stream Arrays/List: how big can the arrays/List be per event in the stream? | 6 | 329 | June 20, 2022 | |
| Best way to get count of active contracts for a specific template | 8 | 467 | February 19, 2025 | |
| Performance considerations of getting ACS | 6 | 284 | July 5, 2022 | |
| Batching and ordering on the active contracts service | 2 | 367 | March 9, 2021 |