StreamMessageType - type of messages in this stream.SubClass - type of the concrete sub-classpublic abstract class OutputDescriptor<StreamMessageType,SubClass extends OutputDescriptor<StreamMessageType,SubClass>> extends StreamDescriptor<StreamMessageType,SubClass>
OutputDescriptor can be used for specifying Samza and system-specific properties of output streams.
Stream properties provided in configuration override corresponding properties specified using a descriptor.
This is the base descriptor for an output stream. Use a system-specific input descriptor (e.g. KafkaOutputDescriptor)
obtained from its system descriptor (e.g. KafkaSystemDescriptor) if one is available. Otherwise use the
GenericOutputDescriptor obtained from a GenericSystemDescriptor.
| Constructor and Description |
|---|
OutputDescriptor(java.lang.String streamId,
Serde serde,
SystemDescriptor systemDescriptor)
Constructs an
OutputDescriptor instance. |
getPhysicalName, getSerde, getStreamId, getSystemDescriptor, getSystemName, toConfig, withPhysicalName, withStreamConfigspublic OutputDescriptor(java.lang.String streamId,
Serde serde,
SystemDescriptor systemDescriptor)
OutputDescriptor instance.streamId - id of the streamserde - serde for messages in the streamsystemDescriptor - system descriptor this stream descriptor was obtained from