You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
519 B

#ifndef CSCI_KAFKA_CONFIG_H
#define CSCI_KAFKA_CONFIG_H
#include <QSettings>
class KafkaConfig {
private:
QStringList _consumerServers;
QStringList _consumerTopics;
QStringList _producerServers;
private:
KafkaConfig();
public:
~KafkaConfig();
void load(QSettings* configs);
QStringList getConsumerServers() const;
QStringList getConsumerTopics() const;
QStringList getProducerServers() const;
public:
static KafkaConfig* getIns();
};
#endif //CSCI_KAFKA_CONFIG_H