Open JeffreyThijs opened 3 months ago
Hi @JeffreyThijs
Indeed, configuring it via ENV var would be a quick win for this. In the meantime, you can configure every HOCON (the config format) setting via Java system properties. In this case, this would be a parameter to the JVM:
-Dditto.gateway.command.connections-retrieve-limit=1337
And yes - eventually we will need pagination on this API.
When i request all connection via the connection http api while having more than 100 connection, I receive following error message:
This limit seems to be configured via:
https://github.com/eclipse-ditto/ditto/blob/master/gateway/service/src/main/resources/gateway.conf#L220
Currently, you can not configure this option via an environment variable so it would be a good idea to add this to allow a quick fix. A better solution would be add pagination to the endpoint like what is done with the search things http api.