Main Content
setProviderProperties
This function requires Streaming Data Framework for MATLAB® Production Server™.
Description
setProviderProperties(
sets Kafka®
stream provider
properties.ks
,propname
1,propval
1,...,propname
N,propval
N)
Note
It is recommended that you set Kafka provider properties when creating a Kafka stream object using kafkaStream
.
If you need to set properties after object creation using
setProviderProperties
, set them before the object interacts with
the stream, such as when reading or writing data to a Kafka topic. After the stream object interacts with an event stream, setting
Kafka properties might have no effect.
Examples
Input Arguments
More About
Version History
Introduced in R2022b