T - The input type consumed by the source.public final class SourceFunctionSpec<T> extends java.lang.Object implements IngressSpec<T>, java.io.Serializable
IngressSpec that can run any Apache Flink SourceFunction.| Constructor and Description |
|---|
SourceFunctionSpec(IngressIdentifier<T> id,
org.apache.flink.streaming.api.functions.source.SourceFunction<T> delegate) |
| Modifier and Type | Method and Description |
|---|---|
IngressIdentifier<T> |
id() |
IngressType |
type() |
public SourceFunctionSpec(IngressIdentifier<T> id, org.apache.flink.streaming.api.functions.source.SourceFunction<T> delegate)
id - A unique ingress identifier.delegate - The underlying source function that this spec will delegate to at runtime.public final IngressIdentifier<T> id()
id in interface IngressSpec<T>public final IngressType type()
type in interface IngressSpec<T>Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.