
io.numaproj.numaflow.sourcer.ReadRequestImpl 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.sourcer;
import lombok.AllArgsConstructor;
import java.time.Duration;
/**
* ReadRequest is used to wrap the request for reading messages from source.
*/
@AllArgsConstructor
class ReadRequestImpl implements ReadRequest {
long count;
Duration timeout;
@Override
public long getCount() {
return this.count;
}
@Override
public Duration getTimeout() {
return this.timeout;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy