
io.numaproj.numaflow.sinker.Sinker Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of numaflow-java Show documentation
Show all versions of numaflow-java Show documentation
SDK to implement Numaflow Source or User Defined Functions or Sinks in Java.
The newest version!
package io.numaproj.numaflow.sinker;
/**
* Sinker exposes method for publishing messages to sink.
* Implementations should override the processMessage method
* which will be used for processing the input messages
*/
public abstract class Sinker {
/**
* method will be used for processing messages.
* response for the message should be added to the
* response list using ResponseListBuilder and the
* response list should be returned.
*
* @param datumStream stream of messages to be processed
*
* @return response list
*/
public abstract ResponseList processMessages(DatumIterator datumStream);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy