diff --git a/conan/test_package/test_kafka.cpp b/conan/test_package/test_kafka.cpp index 4c275db786f3..8d1cdd08e5b8 100644 --- a/conan/test_package/test_kafka.cpp +++ b/conan/test_package/test_kafka.cpp @@ -11,14 +11,13 @@ #include "hello.hpp" int main(int argc, char* argv[]) { - auto component_list = - userver::components::MinimalServerComponentList() - .Append() - .Append() - .Append() - .Append() - .Append("") - .Append(""); + auto component_list = userver::components::MinimalServerComponentList() + .Append() + .Append() + .Append() + .Append() + .Append() + .Append(); service_template::AppendHello(component_list); diff --git a/conanfile.py b/conanfile.py index e26fdd7e0131..743bc90b0184 100644 --- a/conanfile.py +++ b/conanfile.py @@ -57,7 +57,7 @@ class UserverConan(ConanFile): 'with_clickhouse': True, 'with_rabbitmq': True, 'with_utest': True, - 'with_kafka': False, + 'with_kafka': True, 'namespace': 'userver', 'namespace_begin': 'namespace userver {', 'namespace_end': '}', @@ -484,7 +484,9 @@ def clickhouse(): ) def librdkafka(): - return ['RdKafka::rdkafka++'] if self.options.with_kafka else [] + return ( + ['librdkafka::librdkafka'] if self.options.with_kafka else [] + ) userver_components = [ {