kafka integration to matlab

15 vues (au cours des 30 derniers jours)
JimTal
JimTal le 4 Juin 2020
Commenté : Peter Webb le 20 Sep 2023
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.

Réponses (2)

Dan Lluch
Dan Lluch le 16 Sep 2020
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

Peter Webb
Peter Webb le 28 Fév 2023
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 commentaires
Jessy Mathault
Jessy Mathault le 19 Sep 2023
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
Peter Webb le 20 Sep 2023
I assume you're seeing something like this:
>> kafkaStream
kafkaStream requires MATLAB Production Server.
Sorry about that confusing error message.
But it is easier to download and install it via the Add-On Manager, as described in the first link.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Event Stream Processing dans Help Center et File Exchange

Produits


Version

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by