Main Content

イベント ストリーム処理

Kafka® イベントなどのイベントの読み取りと書き込み

Streaming Data Framework for MATLAB® Production Server™ をインストールすると、次のことが可能です。

  • Kafka などのイベント ストリーミング プラットフォームからイベント ストリームを読み取って書き込む。

  • ストリーミング解析アルゴリズムをテストするために実稼働環境をシミュレートする。(MATLAB Compiler SDK™ が必要)

  • ストリーミング解析アルゴリズムをデプロイすることでスケーリングする。(MATLAB Production Server が必要)

MATLAB アドオン エクスプローラーから Streaming Data Framework for MATLAB Production Server サポート パッケージをインストールします。アドオンのインストールの詳細については、アドオンの取得と管理 (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 以降)

基本的なインポートとエクスポート

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 以降)

インポート オプションとエクスポート オプション

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 以降)

トピック

イベント ストリームの処理

ストリーミング解析関数のテストとデプロイ

トラブルシューティング

Obtain Kafka Event Stream Log Files

Locate event stream log files to help with debugging issues.