
map.v1.map.proto 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.
syntax = "proto3";
option java_package = "io.numaproj.numaflow.map.v1";
import "google/protobuf/timestamp.proto";
import "google/protobuf/empty.proto";
package map.v1;
service Map {
// MapFn applies a function to each map request element.
rpc MapFn(MapRequest) returns (MapResponse);
// IsReady is the heartbeat endpoint for gRPC.
rpc IsReady(google.protobuf.Empty) returns (ReadyResponse);
}
/**
* MapRequest represents a request element.
*/
message MapRequest {
repeated string keys = 1;
bytes value = 2;
google.protobuf.Timestamp event_time = 3;
google.protobuf.Timestamp watermark = 4;
}
/**
* MapResponse represents a response element.
*/
message MapResponse {
message Result {
repeated string keys = 1;
bytes value = 2;
repeated string tags = 3;
}
repeated Result results = 1;
}
/**
* ReadyResponse is the health check result.
*/
message ReadyResponse {
bool ready = 1;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy