Class KafkaJsonRPCService
- java.lang.Object
-
- io.quarkus.kafka.client.runtime.devui.KafkaJsonRPCService
-
public class KafkaJsonRPCService extends Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) KafkaAdminClient
kafkaAdminClient
(package private) KafkaUiUtils
kafkaUiUtils
-
Constructor Summary
Constructors Constructor Description KafkaJsonRPCService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KafkaMessagePage
createMessage(String topicName, Integer partition, String key, String value, Map<String,String> headers)
List<KafkaTopic>
createTopic(String topicName, int partitions, int replications)
List<KafkaTopic>
deleteTopic(String topicName)
KafkaAclInfo
getAclInfo()
KafkaInfo
getInfo()
List<Integer>
getPartitions(String topicName)
List<KafkaTopic>
getTopics()
KafkaMessagePage
topicMessages(String topicName)
-
-
-
Field Detail
-
kafkaUiUtils
@Inject KafkaUiUtils kafkaUiUtils
-
kafkaAdminClient
@Inject KafkaAdminClient kafkaAdminClient
-
-
Method Detail
-
getTopics
public List<KafkaTopic> getTopics() throws InterruptedException, ExecutionException
-
createTopic
public List<KafkaTopic> createTopic(String topicName, int partitions, int replications) throws InterruptedException, ExecutionException
-
deleteTopic
public List<KafkaTopic> deleteTopic(String topicName) throws InterruptedException, ExecutionException
-
topicMessages
public KafkaMessagePage topicMessages(String topicName) throws ExecutionException, InterruptedException
-
createMessage
public KafkaMessagePage createMessage(String topicName, Integer partition, String key, String value, Map<String,String> headers) throws ExecutionException, InterruptedException
-
getPartitions
public List<Integer> getPartitions(String topicName) throws ExecutionException, InterruptedException
-
getInfo
public KafkaInfo getInfo() throws ExecutionException, InterruptedException
-
getAclInfo
public KafkaAclInfo getAclInfo() throws InterruptedException, ExecutionException
-
-