public class TopicMetadataRequestHandler extends AbstractKafkaCommandHandler implements KafkaContextAware
| 限定符和类型 | 字段和说明 |
|---|---|
protected static org.slf4j.Logger |
logger |
| 构造器和说明 |
|---|
TopicMetadataRequestHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected Map<String,org.joyqueue.domain.TopicConfig> |
doGetAllTopicConfigs(String clientId) |
protected Map<String,org.joyqueue.domain.TopicConfig> |
getAllTopicConfigs(String clientId) |
protected List<KafkaPartitionMetadata> |
getPartitionMetadata(org.joyqueue.domain.TopicConfig topicConfig) |
protected List<KafkaBroker> |
getTopicBrokers(Map<String,org.joyqueue.domain.TopicConfig> topicConfigs) |
protected Map<String,org.joyqueue.domain.TopicConfig> |
getTopicConfigs(List<String> topics) |
protected List<KafkaTopicMetadata> |
getTopicMetadata(List<String> topics,
Map<String,org.joyqueue.domain.TopicConfig> topicConfigs) |
org.joyqueue.network.transport.command.Command |
handle(org.joyqueue.network.transport.Transport transport,
org.joyqueue.network.transport.command.Command command) |
void |
setKafkaContext(KafkaContext kafkaContext) |
int |
type() |
public void setKafkaContext(KafkaContext kafkaContext)
setKafkaContext 在接口中 KafkaContextAwarepublic org.joyqueue.network.transport.command.Command handle(org.joyqueue.network.transport.Transport transport,
org.joyqueue.network.transport.command.Command command)
handle 在接口中 org.joyqueue.network.transport.command.handler.CommandHandlerpublic int type()
type 在接口中 org.joyqueue.network.transport.command.Typeprotected Map<String,org.joyqueue.domain.TopicConfig> getAllTopicConfigs(String clientId)
protected Map<String,org.joyqueue.domain.TopicConfig> doGetAllTopicConfigs(String clientId)
protected Map<String,org.joyqueue.domain.TopicConfig> getTopicConfigs(List<String> topics)
protected List<KafkaBroker> getTopicBrokers(Map<String,org.joyqueue.domain.TopicConfig> topicConfigs)
protected List<KafkaTopicMetadata> getTopicMetadata(List<String> topics, Map<String,org.joyqueue.domain.TopicConfig> topicConfigs)
protected List<KafkaPartitionMetadata> getPartitionMetadata(org.joyqueue.domain.TopicConfig topicConfig)
Copyright © 2020 Joyqueue Community. All rights reserved.