Use default values instantly for batch size/interval (#306)

This commit is contained in:
Antonio Andelic
2021-11-30 16:29:51 +01:00
committed by GitHub
parent 05d0aee494
commit d9bb4e2e46
19 changed files with 92 additions and 100 deletions

View File

@@ -13,7 +13,7 @@
#include <json/json.hpp>
namespace query {
namespace query::stream {
KafkaStream::KafkaStream(std::string stream_name, StreamInfo stream_info,
ConsumerFunction<integrations::kafka::Message> consumer_function) {
integrations::kafka::ConsumerInfo consumer_info{
@@ -114,4 +114,4 @@ void from_json(const nlohmann::json &data, PulsarStream::StreamInfo &info) {
data.at(kTopicsKey).get_to(info.topics);
data.at(kServiceUrl).get_to(info.service_url);
}
} // namespace query
} // namespace query::stream