Event Stream Processing
When you install the Streaming Data Framework for MATLAB® Production Server™, you can:
Read and write event streams from an event streaming platform, such as Kafka.
Simulate the production environment for testing your streaming analytic algorithms. (Requires MATLAB Compiler SDK™)
Scale your streaming analytic algorithms by deploying them. (Requires MATLAB Production Server)
Install the Streaming Data Framework for MATLAB Production Server support package from the MATLAB Add-On Explorer. For information about installing add-ons, see 애드온을 받고 관리하기 (MATLAB).
Connect to Event Streams
Read and Write Events
Basic Import and Export
|Read timetable from event stream (R2022b 이후)
|Write timetable to event stream (R2022b 이후)
|Set read position in event stream (R2022b 이후)
|Preview subset of events from event stream (R2022b 이후)
|Event stream name (R2022b 이후)
Import and Export Options
|Create import options based on event stream content (R2022b 이후)
|Create options for importing events from stream into MATLAB (R2022b 이후)
|Import options for event stream (R2022b 이후)
|Data types used to export variables to stream (R2022b 이후)
|Set data types used to import and export variables to stream (R2022b 이후)
|Create export options based on event stream content (R2022b 이후)
|Export options for event stream (R2022b 이후)
Kafka Stream Operations
|Read raw events from Kafka stream without schema processing applied (R2022b 이후)
|Reset read window boundaries (R2022b 이후)
|Stop processing event streams from Kafka topic (R2022b 이후)
|Create topic in Kafka cluster (R2022b 이후)
|Remove topic from Kafka cluster (R2022b 이후)
|Error information for Kafka stream operation (R2022b 이후)
Kafka Provider Properties
Simulate Production Environment
|Apply stream analytic function to event stream (R2022b 이후)
|Execute event stream processing function on specific number of event windows (R2022b 이후)
|Package stream processing function into deployable archive configured by
EventStreamProcessor (R2022b 이후)
|Set position in event stream to begin processing events (R2022b 이후)
|Start processing event streams using local test server (R2022b 이후)
|Start local test server (R2022b 이후)
|Stop processing event streams using local test server (R2022b 이후)
|Shut down local test server (R2022b 이후)
Deploy Streaming Analytic
Process Event Streams
- Streaming Data Framework for MATLAB Production Server Basics
Use Streaming Data Framework for MATLAB Production Server to read from and write to event streaming platforms, such as Kafka.
- Process Kafka Events Using MATLAB
Process events from a Kafka stream using a streaming analytic function.
- Connect to Secure Kafka Cluster
Set Kafka provider properties during stream object creation.
Test and Deploy Streaming Analytic Function
- Test Streaming Analytic Function Using Local Test Server
Use the development version of MATLAB Production Server to test a streaming analytic function before deployment to MATLAB Production Server.
- Deploy Streaming Analytic Function to MATLAB Production Server
Package a streaming analytic function and deploy to server.
Locate event stream log files to help with debugging issues.