Add support for Pulsar queries (#292)
This commit is contained in:
committed by
Antonio Andelic
parent
0e4719018a
commit
b66cc66503
@@ -99,9 +99,8 @@ class SpdlogLoggerFactory : public pulsar_client::LoggerFactory {
|
||||
};
|
||||
|
||||
pulsar_client::Client CreateClient(const std::string &service_url) {
|
||||
static SpdlogLoggerFactory logger_factory;
|
||||
pulsar_client::ClientConfiguration conf;
|
||||
conf.setLogger(&logger_factory);
|
||||
conf.setLogger(new SpdlogLoggerFactory);
|
||||
return {service_url, conf};
|
||||
}
|
||||
} // namespace
|
||||
|
||||
Reference in New Issue
Block a user