Monitoring
3.3.4
O2 Monitoring library
|
Transport that sends string formatted metrics via Kafka. More...
#include <Kafka.h>
Public Member Functions | |
Kafka (const std::string &host, unsigned int port, const std::string &topic="test") | |
~Kafka () | |
Deletes producer. | |
void | send (std::string &&message) override |
Transport that sends string formatted metrics via Kafka.
o2::monitoring::transports::Kafka::Kafka | ( | const std::string & | host, |
unsigned int | port, | ||
const std::string & | topic = "test" |
||
) |
Creates producer
hostname | Hostname |
port | Port number |
topic | Kafka topic |
|
overridevirtual |
Sends metric via Kafka
message | r-value string formated |
Implements o2::monitoring::transports::TransportInterface.