在部署 Flink Stateful Functions 时,需要指定函数的端点是什么,即 Flink 需要点击什么 URL 才能触发远程函数的执行。
文档状态:
URL 模板名称可能包含模板参数,这些参数是根据函数的特定类型填写的。例如,发送到消息类型 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
?这些值来自哪里?