umaflow.numaflow-java.0.0.1.source-code.Protocol 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.
package io.numaproj.numaflow.info;
import com.fasterxml.jackson.annotation.JsonValue;
/**
* Please exercise cautions when updating the values below because the exact same values are defined in other Numaflow SDKs
* to form a contract between server and clients.
*/
public enum Protocol {
UDS_PROTOCOL("uds"),
TCP_PROTOCOL("tcp");
private final String name;
Protocol(String name) {
this.name = name;
}
@JsonValue
public String getName() {
return name;
}
}