Quellcode durchsuchen

[BE] SR: maxInMemorySize property setting added to SR client (#3310)

Co-authored-by: iliax <ikuramshin@provectus.com>
Co-authored-by: Roman Zabaluev <rzabaluev@provectus.com>
Ilya Kuramshin vor 2 Jahren
Ursprung
Commit
45a6e73d29

+ 1 - 0
kafka-ui-api/src/main/java/com/provectus/kafka/ui/service/KafkaClusterFactory.java

@@ -82,6 +82,7 @@ public class KafkaClusterFactory {
     WebClient webClient = new WebClientConfigurator()
     WebClient webClient = new WebClientConfigurator()
         .configureSsl(clusterProperties.getSchemaRegistrySsl())
         .configureSsl(clusterProperties.getSchemaRegistrySsl())
         .configureBasicAuth(auth.getUsername(), auth.getPassword())
         .configureBasicAuth(auth.getUsername(), auth.getPassword())
+        .configureBufferSize(maxBuffSize)
         .build();
         .build();
     return ReactiveFailover.create(
     return ReactiveFailover.create(
         parseUrlList(clusterProperties.getSchemaRegistry()),
         parseUrlList(clusterProperties.getSchemaRegistry()),