Main Content

Event Stream Processing

Read and write events, such as Kafka® events

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).

함수

모두 확장

kafkaStreamCreate connection to event stream in Kafka topic (R2022b 이후)
inMemoryStreamCreate connection to event stream hosted by MATLAB without schema processing applied (R2022b 이후)
testStreamCreate connection to event stream hosted by MATLAB with schema processing applied (R2022b 이후)

Basic Import and Export

readtimetableRead timetable from event stream (R2022b 이후)
writetimetableWrite timetable to event stream (R2022b 이후)
seekSet read position in event stream (R2022b 이후)
previewPreview subset of events from event stream (R2022b 이후)
identifyingNameEvent stream name (R2022b 이후)

Import and Export Options

detectImportOptionsCreate import options based on event stream content (R2022b 이후)
eventStreamImportOptionsCreate options for importing events from stream into MATLAB (R2022b 이후)
ImportOptionsImport options for event stream (R2022b 이후)
getvartypeData types used to export variables to stream (R2022b 이후)
setvartypeSet data types used to import and export variables to stream (R2022b 이후)
detectExportOptionsCreate export options based on event stream content (R2022b 이후)
ExportOptionsExport options for event stream (R2022b 이후)
readeventsRead raw events from Kafka stream without schema processing applied (R2022b 이후)
flushReset read window boundaries (R2022b 이후)
stopStop processing event streams from Kafka topic (R2022b 이후)
createTopicCreate topic in Kafka cluster (R2022b 이후)
deleteTopicRemove topic from Kafka cluster (R2022b 이후)
loggederrorError information for Kafka stream operation (R2022b 이후)
categoryListKafka stream provider property list (R2022b 이후)
getProviderPropertiesKafka stream configuration property data (R2022b 이후)
setProviderPropertiesSet properties specific to Kafka configuration (R2022b 이후)
isPropertyDetermine if Kafka stream provider property is set (R2022b 이후)
eventStreamProcessorApply stream analytic function to event stream (R2022b 이후)
executeExecute event stream processing function on specific number of event windows (R2022b 이후)
packagePackage stream processing function into deployable archive configured by EventStreamProcessor (R2022b 이후)
seekSet position in event stream to begin processing events (R2022b 이후)
startStart processing event streams using local test server (R2022b 이후)
startServerStart local test server (R2022b 이후)
stopStop processing event streams using local test server (R2022b 이후)
stopServerShut down local test server (R2022b 이후)
streamingDataCompilerPackage stream processing function into deployable archive (R2022b 이후)

도움말 항목

Process Event Streams

Test and Deploy Streaming Analytic Function

문제 해결

Obtain Kafka Event Stream Log Files

Locate event stream log files to help with debugging issues.