Fix compilation error (#53)

This commit is contained in:
Anton Petrov 2020-05-28 14:37:23 +03:00 committed by GitHub
parent f3f6e74b1e
commit ec7c8bbf5e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -53,7 +53,7 @@ public class KafkaService {
getTopicsData(ac.getAdminClient()).flatMap( topics -> getTopicsData(ac.getAdminClient()).flatMap( topics ->
loadTopicsConfig(ac.getAdminClient(), topics.stream().map(InternalTopic::getName).collect(Collectors.toList())) loadTopicsConfig(ac.getAdminClient(), topics.stream().map(InternalTopic::getName).collect(Collectors.toList()))
.map( configs -> mergeWithConfigs(topics, configs)) .map( configs -> mergeWithConfigs(topics, configs))
.flatMap(it -> updateSegmentMetrics(ac, clusterMetrics, it)) .flatMap(it -> updateSegmentMetrics(ac.getAdminClient(), clusterMetrics, it))
).map( segmentSizeDto -> buildFromData(cluster, segmentSizeDto)) ).map( segmentSizeDto -> buildFromData(cluster, segmentSizeDto))
) )
).onErrorResume( ).onErrorResume(