简体   繁体   English

用于 UWP 应用程序的 Confluent.Kafka。 (全息镜头)

[英]Confluent.Kafka for UWP application. (HoloLens)

I am creating a UWP application for Hololens and I need the Kafka-Client.我正在为 Hololens 创建一个 UWP 应用程序,我需要 Kafka-Client。 I used the pre-built.dlls from confluent-kafka-dotnet ( https://github.com/confluentinc/confluent-kafka-dotnet ) and librdkafka ( https://github.com/edenhill/librdkafka ) but when I run the application I get that error:我使用了 confluent-kafka-dotnet ( https://github.com/confluentinc/confluent-kafka-dotnet ) 和 librdkafka ( https://github.com/edenhill/librdkafka ) 中的 pre-built.dlls我收到该错误的应用程序:

"Unable to load DLL 'kernel32.dll': The specified module could not be found." “无法加载 DLL 'kernel32.dll':找不到指定的模块。”

I think the problem is on librdkafka.dll because the files are released for standard architectures like x86 or x64 (Desktop) not for UWP.我认为问题出在 librdkafka.dll 上,因为这些文件是针对 x86 或 x64(桌面)等标准架构发布的,而不是针对 UWP 发布的。

So, could you give me some suggestions how to procceed with that problem?那么,你能给我一些建议如何解决这个问题吗? It's needed to rebuild the librdkafka as VC++ project for Universal Windows Platform?是否需要将 librdkafka 重建为通用 Windows 平台的 VC++ 项目?

Thanks in advance提前致谢

The problem was the releases are built for desktop applications and not for UWP.问题是这些版本是为桌面应用程序构建的,而不是为 UWP 构建的。 Finally, I used REST proxy for Apache Kafka over HTTP requests.最后,我使用 REST 代理 Apache Kafka 超过 HTTP 请求。 You can follow the link .您可以点击链接

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Confluent.Kafka 在消费者处的交易 - Transaction in Confluent.Kafka at Consumer Confluent.Kafka - 主题日志压缩 - Confluent.Kafka - Topic Log Compaction 如何使用Confluent.Kafka .Net Client创建Kafka主题 - How to create a Kafka Topic using Confluent.Kafka .Net Client 使用 Confluent.Kafka 消费者库的 Kafka 消息密钥为空 - Kafka message key is null using Confluent.Kafka consumer library 使用 Confluent.Kafka 从 .net 核心服务写入 Kafka - Writing to Kafka from .net core service using Confluent.Kafka C# .net核心Confluent.Kafka Avro反序列化 - C# .net core Confluent.Kafka Avro Deserialization 有没有办法使用 Confluent.Kafka.Net 客户端查询主题的复制因子和保留时间? - Is there a way to query the replication factor and retention time for a topic using the Confluent.Kafka .Net client? 如何获取 Confluent.Kafka 中某个主题的所有“PartitionTopic”列表? - How can I get a list of all `PartitionTopic`s for a topic in Confluent.Kafka? Confluent.Kafka - sasl.mechanism 设置为 PLAIN 但未为 SASL 配置 security.protocol - Confluent.Kafka - sasl.mechanism set to PLAIN but security.protocol is not configured for SASL 在 Hololens 1 的 2D UWP 应用程序中检测 air-tap 事件 - detecting air-tap event in an 2D UWP application for Hololens 1
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM