def METHOD_NAME(self):
    self.cpp_info.set_property("cmake_file_name", "RdKafka")
    # Avoid to create undesirables librdkafka::librdkafka target and librdkafka.pc
    # it's fine since rdkafka++ component depends on all components
    self.cpp_info.set_property("cmake_target_name", "RdKafka::rdkafka++")
    self.cpp_info.set_property("pkg_config_name", "rdkafka++")
    # rdkafka
    self.cpp_info.components["rdkafka"].set_property("cmake_target_name", "RdKafka::rdkafka")
    self.cpp_info.components["rdkafka"].set_property("pkg_config_name", "rdkafka")
    self.cpp_info.components["rdkafka"].libs = ["rdkafka"]
    self.cpp_info.components["rdkafka"].requires = ["lz4::lz4"]
    if self.options.zlib:
        self.cpp_info.components["rdkafka"].requires.append("zlib::zlib")
    if self.options.zstd:
        self.cpp_info.components["rdkafka"].requires.append("zstd::zstd")
    if self.options.ssl:
        self.cpp_info.components["rdkafka"].requires.append("openssl::openssl")
    if self._depends_on_cyrus_sasl:
        self.cpp_info.components["rdkafka"].requires.append("cyrus-sasl::cyrus-sasl")
    if self.options.get_safe("curl", False):
        self.cpp_info.components["rdkafka"].requires.append("libcurl::libcurl")
    if self.settings.os == "Windows":
        self.cpp_info.components["rdkafka"].system_libs = ["ws2_32", "secur32"]
        if self.options.ssl:
            self.cpp_info.components["rdkafka"].system_libs.append("crypt32")
    elif self.settings.os in ["Linux", "FreeBSD"]:
        self.cpp_info.components["rdkafka"].system_libs.extend(["pthread", "rt", "dl", "m"])
    if not self.options.shared:
        self.cpp_info.components["rdkafka"].defines.append("LIBRDKAFKA_STATICLIB")
    # rdkafka++
    self.cpp_info.components["rdkafka++"].set_property("cmake_target_name", "RdKafka::rdkafka++")
    self.cpp_info.components["rdkafka++"].set_property("pkg_config_name", "rdkafka++")
    self.cpp_info.components["rdkafka++"].libs = ["rdkafka++"]
    self.cpp_info.components["rdkafka++"].requires = ["rdkafka"]
    # TODO: to remove in conan v2 once cmake_find_package* generators removed
    self.cpp_info.names["cmake_find_package"] = "RdKafka"
    self.cpp_info.names["cmake_find_package_multi"] = "RdKafka"