How to consume messages using Kafkastrem
4 次查看(过去 30 天)
显示 更早的评论
Hi all,
The question is simple as the title says. How to consume messages from selected Kafka topic?
I have a setup which works perfectly from terminal and now I am trying to connect MATLAB with this Kafka topic, just to consume messages. I followed this:
but unfortunately there is no information how to consume messages. Any help will be appreciated!
回答(1 个)
Divyanshu
2023-12-13
编辑:Divyanshu
2023-12-13
Hi Marcin,
I understand that you are able to configure the kafkaStream object successfully but are facing issues while reading the messages from KafkaStream.
Please go through the following documentation which provides an example of writing and reading messages over the kafka stream:
Also make sure to verify that once the kafkaStream object is configured, the messages are written appropriately. The function 'readtimetable' can be used to read the data as shown in the example above.
For further details about 'readtimetable' function refer the following documentation:
3 个评论
Divyanshu
2023-12-14
编辑:Divyanshu
2023-12-14
Hi Marcin,
This particular issue requires further investigation and would require some log files to track the root cause of the issue and provide a solution or workaround accordingly.
Hence I would suggest you to reach out to MathWorks Technical Support and raise a request on the below link:
Once a request is raised someone from technical support would reach out to you and would help you with the issue.
Thanks.
另请参阅
类别
在 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!