MCPcopy Create free account
hub / github.com/apache/nifi-minifi-cpp / getTopic

Method getTopic

extensions/librdkafka/KafkaConnection.cpp:82–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82std::shared_ptr<KafkaTopic> KafkaConnection::getTopic(const std::string &topic) const {
83 auto topicObj = topics_.find(topic);
84 if (topicObj != topics_.end()) {
85 return topicObj->second;
86 }
87 return nullptr;
88}
89
90KafkaConnectionKey const* KafkaConnection::getKey() const {
91 return &key_;

Callers 1

onTriggerMethod · 0.45

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected