Struct KafkaConnectionDetails
Defined in File StatKafkaProducer.h
Struct Documentation
-
struct KafkaConnectionDetails
Convenience struct for a Kafka connection that combines the the connection scheme with address.
Public Members
-
std::string scheme
The connection scheme.
A connection URI should start with “kafka://” but for testing the URI can start with “mock://”.
-
std::string address
The host and port of the Kafka server to send messages to.
This can either be of the form of “host” or “host:port” where the default Kafka port is 9092.
-
std::string scheme