【发布时间】:2021-10-18 17:25:09
【问题描述】:
在部署 Flink Stateful Functions 时,需要指定函数的端点是什么,即 Flink 需要点击什么 URL 才能触发远程函数的执行。
docs 状态:
网址模板名称可能包含填充的模板参数 in 基于函数的特定类型。例如,发送的消息 to 消息类型 com.example/greeter 将被发送到 http://bar.foo.com/greeter.
endpoints:
- endpoint:
meta:
kind: http
spec:
functions: com.example/*
urlPathTemplate: https://bar.foo.com/{function.name}
urlPathTemplate 还支持哪些其他模板值?这些值来自哪里?
【问题讨论】:
标签: apache-flink flink-statefun