
io.numaproj.numaflow.sessionreducer.GetAccumulatorResponse 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.sessionreducer;
import io.numaproj.numaflow.sessionreduce.v1.Sessionreduce;
import lombok.AllArgsConstructor;
import lombok.Getter;
/**
* GetAccumulatorResponse is sent from a session reducer actor back to the supervisor actor,
* containing the accumulator of the session.
*
* "Hey supervisor, I am the session window fromKeyedWindow,
* I am returning my accumulator so that you can merge me."
*/
@AllArgsConstructor
@Getter
class GetAccumulatorResponse {
private final Sessionreduce.KeyedWindow fromKeyedWindow;
private final byte[] accumulator;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy