stephb9959
2023-05-18 08:58:11 -07:00
parent 15c2f6a4fc
commit 7c3ae1b5b9
10 changed files with 115 additions and 61 deletions

View File

@@ -345,7 +345,7 @@ namespace OpenWifi {
std::stringstream ResultText;
Poco::JSON::Stringifier::stringify(Obj, ResultText);
KafkaManager()->PostMessage(KafkaTopics::SERVICE_EVENTS,
MicroServicePrivateEndPoint(), ResultText.str(), false);
MicroServicePrivateEndPoint(), std::make_shared<std::string>(ResultText.str()), false);
}
} catch (const Poco::Exception &E) {
Logger().log(E);