Fix fetching schema from schema registry in AvroConfluent

This commit is contained in:
avogar 2023-10-24 20:11:40 +00:00
parent 58824fb02b
commit d1fcbc6e47

View File

@ -983,8 +983,8 @@ private:
{
try
{
Poco::URI url(base_url, "/schemas/ids/" + std::to_string(id));
LOG_TRACE((&Poco::Logger::get("AvroConfluentRowInputFormat")), "Fetching schema id = {}", id);
Poco::URI url(base_url, "schemas/ids/" + std::to_string(id));
LOG_TRACE((&Poco::Logger::get("AvroConfluentRowInputFormat")), "Fetching schema id = {} from url {}", id, url.toString());
/// One second for connect/send/receive. Just in case.
ConnectionTimeouts timeouts({1, 0}, {1, 0}, {1, 0});