Rate Limiting

Rate limit the calls the Lenses Agent makes to Schema Registries and Connect Clusters.

To rate limit the calls the Agent makes to Schema Registries or Connect Clusters set the following the Agent configuration:

# schema registry
lenses.schema.registry.client.http.rate.type="sliding" 
lenses.schema.registry.client.http.rate.maxRequests= 200
lenses.schema.registry.client.http.rate.window="2 seconds"

# connect clusters
lenses.connect.client.http.rate.type="sliding"                 
lenses.connect.client.http.rate.maxRequests=200        
lenses.connect.client.http.rate.window="2 seconds"  

The exact values provided will depend on your setup, for example the number of schemas, how often are new schemas added, so some trial and error is required.

Last updated

Logo

2024 © Lenses.io Ltd. Apache, Apache Kafka, Kafka and associated open source project names are trademarks of the Apache Software Foundation.