gpt4 book ai didi

arduino - 将传感器数据从 arduino 直接推送到 apache kafka 服务器。

转载 作者:行者123 更新时间:2023-12-04 08:55:03 24 4
gpt4 key购买 nike

关闭。这个问题需要更多focused .它目前不接受答案。












想改善这个问题吗?更新问题,使其仅关注一个问题 editing this post .

2年前关闭。




Improve this question




我是物联网的新手。我已将温度数据推送到蚊子服务器并成功消耗了所有数据。现在我想将数据从 arduino 推送到 kafka 服务器并从 kafka 消费。 arduino 有没有 kafka 库?
什么架构适合使用 apache kafka 扩展 mqqt?

谢谢

最佳答案

您可能想查看以下文章,了解设计的架构和可扩展性部分:

http://www.confluent.io/blog/stream-data-platform-1/

不将答案与特定语言联系起来 - 但我个人发现 Kafka Library for Java 比同行成熟得多。

您可以轻松地围绕 arduino 库 ( http://mvnrepository.com/artifact/li.rudin.arduino/arduino-api ) 编写一个包装器,它收集数据作为输入,并使用库 ( http://mvnrepository.com/artifact/org.apache.kafka/kafka_2.10 ) 作为 kafka 生产者将数据实时传输到 Kafka。

关于arduino - 将传感器数据从 arduino 直接推送到 apache kafka 服务器。,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32712910/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com