Class KafkaUiUtils
java.lang.Object
io.quarkus.kafka.client.runtime.devui.KafkaUiUtils
-
Constructor Summary
ConstructorsConstructorDescriptionKafkaUiUtils(KafkaAdminClient kafkaAdminClient, KafkaTopicClient kafkaTopicClient, Map<String, Object> config) -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateMessage(KafkaMessageCreateRequest request) io.vertx.core.json.JsonObjectfromJson(io.vertx.core.buffer.Buffer buffer) <T> TgetMessages(KafkaMessagesRequest request) getOffset(KafkaOffsetRequest request) longgetTopicMessageCount(String topicName, Collection<Integer> partitions) partitions(String topicName)
-
Constructor Details
-
KafkaUiUtils
public KafkaUiUtils(KafkaAdminClient kafkaAdminClient, KafkaTopicClient kafkaTopicClient, @Identifier("default-kafka-broker") Map<String, Object> config)
-
-
Method Details
-
getKafkaInfo
-
getClusterInfo
-
getTopics
-
getTopicMessageCount
public long getTopicMessageCount(String topicName, Collection<Integer> partitions) throws ExecutionException, InterruptedException -
partitions
public Collection<Integer> partitions(String topicName) throws ExecutionException, InterruptedException -
getMessages
public KafkaMessagePage getMessages(KafkaMessagesRequest request) throws ExecutionException, InterruptedException -
createMessage
-
getConsumerGroups
-
getOffset
public Map<Integer,Long> getOffset(KafkaOffsetRequest request) throws ExecutionException, InterruptedException -
getAclInfo
-
toJson
-
fromJson
public io.vertx.core.json.JsonObject fromJson(io.vertx.core.buffer.Buffer buffer) -
fromJson
-