Avoid SIGSEGV during destructing KafkaHandleBase (with set_log_callback()) (#68)

Configuration should exist for logging, since it contains the copy of
the callback.
This commit is contained in:
Azat Khuzhin
2018-05-19 23:24:57 +03:00
committed by Matias Fontanini
parent ae74814791
commit 2451c74c4f
2 changed files with 2 additions and 2 deletions

View File

@@ -217,11 +217,11 @@ private:
std::vector<GroupInformation> fetch_consumer_groups(const char* name);
void save_topic_config(const std::string& topic_name, TopicConfiguration config);
HandlePtr handle_;
std::chrono::milliseconds timeout_ms_;
Configuration config_;
TopicConfigurationMap topic_configurations_;
std::mutex topic_configurations_mutex_;
HandlePtr handle_;
};
} // cppkafka