public interface SystemProducer
StreamTasks to outside systems,
 such as messaging systems like Kafka, or file systems.  Implementations are responsible for accepting messages
 and writing them to their backing systems.| Modifier and Type | Method and Description | 
|---|---|
| void | flush(java.lang.String source)If the SystemProducer buffers messages before sending them to its underlying system, it should flush those
 messages and leave no messages remaining to be sent. | 
| void | register(java.lang.String source)Registers this producer to send messages from a specified Samza source, such as a StreamTask. | 
| void | send(java.lang.String source,
    OutgoingMessageEnvelope envelope)Sends a specified message envelope from a specified Samza source. | 
| void | start()Start the SystemProducer. | 
| void | stop()Stop the SystemProducer. | 
void start()
void stop()
void register(java.lang.String source)
source - String representing the source of the message.void send(java.lang.String source,
          OutgoingMessageEnvelope envelope)
source - String representing the source of the message.envelope - Aggregate object representing the serialized message to send from the source.void flush(java.lang.String source)
source - String representing the source of the message.