kafka integration to matlab
14 ビュー (過去 30 日間)
古いコメントを表示
I am using Matlab 2019b on Windows 10. I am looking for a way to integrate kafka into matlab? Matlab will be processing real-time data and produce a message to send out through kafka. Any example would be appreciated.
I can easily do this by running a seperate program (python) monitoring a file which matlab produces but I would like to know if there is a way to cleanly integrate matlab and kafka.
Thanks for your input.
0 件のコメント
回答 (2 件)
Dan Lluch
2020 年 9 月 16 日
Can see a few integration options in this github entry - including a MATLAB integration. There are also Simulink, Code Generation, and Production Server options.
HTH
Dan
0 件のコメント
Peter Webb
2023 年 2 月 28 日
We have released a MATLAB support package that lets you read and write Kafka data as timetables:
Despite the name, it does not require MATLAB Production Server, though you can use MATLAB Production Server if you have it.
2 件のコメント
Jessy Mathault
2023 年 9 月 19 日
This doesn't appear to be true. I've tried to use the various functions listed in the example of the link and all return an error requiring the MATLAB Production Server license.
Peter Webb
2023 年 9 月 20 日
I assume you're seeing something like this:
>> kafkaStream
Sorry about that confusing error message.
You do have to manually download and install the support package first, per these instructions: https://www.mathworks.com/help/mps/ml_code/streaming-data-framework-for-matlab-production-server-basics.html#mw_94c3f407-4e56-4c47-b52f-37e16700ffcf
You can find the support package here: https://www.mathworks.com/matlabcentral/fileexchange/118415-streaming-data-framework-for-matlab-production-server?s_tid=prof_contriblnk
But it is easier to download and install it via the Add-On Manager, as described in the first link.
参考
カテゴリ
Help Center および File Exchange で Event Stream Processing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!