Class KafkaUtils
java.lang.Object
com.here.platform.data.client.service.stream.kafka.KafkaUtils
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidappendCredentials(Properties kafkaProperties, String hereToken) static voidassertProtocolCompatibility(scala.collection.immutable.Seq<String> supported, scala.collection.immutable.Seq<String> server) static StringgetMetrics(scala.collection.mutable.Map<org.apache.kafka.common.MetricName, ? extends org.apache.kafka.common.Metric> metrics, org.apache.pekko.event.LoggingAdapter log) getMetricsMap(scala.collection.mutable.Map<org.apache.kafka.common.MetricName, ? extends org.apache.kafka.common.Metric> metrics, scala.collection.immutable.List<String> metricNames, String clientId, org.apache.pekko.event.LoggingAdapter log) static StringserializeMetricName(org.apache.kafka.common.Metric metric, scala.collection.immutable.Seq<String> exclude, scala.Option<String> clientId)
-
Constructor Details
-
KafkaUtils
public KafkaUtils()
-
-
Method Details
-
assertProtocolCompatibility
-
appendCredentials
-
serializeMetricName
-
getMetrics
public static String getMetrics(scala.collection.mutable.Map<org.apache.kafka.common.MetricName, ? extends org.apache.kafka.common.Metric> metrics, org.apache.pekko.event.LoggingAdapter log) -
getMetricsMap
public static scala.collection.immutable.Map<String,String> getMetricsMap(scala.collection.mutable.Map<org.apache.kafka.common.MetricName, ? extends org.apache.kafka.common.Metric> metrics, scala.collection.immutable.List<String> metricNames, String clientId, org.apache.pekko.event.LoggingAdapter log)
-