[
https://issues.apache.org/jira/browse/FLINK-21420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Flink Jira Bot updated FLINK-21420:
-----------------------------------
Labels: auto-deprioritized-major stale-assigned (was:
auto-deprioritized-major)
I am the [Flink Jira Bot|https://github.com/apache/flink-jira-bot/] and I help
the community manage its development. I see this issue is assigned but has not
received an update in 14, so it has been labeled "stale-assigned".
If you are still working on the issue, please remove the label and add a
comment updating the community on your progress. If this issue is waiting on
feedback, please consider this a reminder to the committer/reviewer. Flink is a
very active project, and so we appreciate your patience.
If you are no longer working on the issue, please unassign yourself so someone
else may work on it. If the "warning_label" label is not removed in 7 days, the
issue will be automatically unassigned.
> Add path templating to the DataStream API
> -----------------------------------------
>
> Key: FLINK-21420
> URL: https://issues.apache.org/jira/browse/FLINK-21420
> Project: Flink
> Issue Type: Improvement
> Components: Stateful Functions
> Reporter: Miguel Araujo
> Assignee: Tzu-Li (Gordon) Tai
> Priority: Major
> Labels: auto-deprioritized-major, stale-assigned
> Fix For: statefun-3.1.0
>
>
> Path Template was introduced in FLINK-20264 with a new module YAML
> specification being added in FLINK-20334.
> However, that possibility was not added to the DataStream API.
> The main problem is that RequestReplyFunctionBuilder can only receive
> FunctionTypes which it then turns into FunctionTypeTarget's for the
> HttpFunctionEndpointSpec builder:
> {code:java}
> private RequestReplyFunctionBuilder(FunctionType functionType, URI endpoint) {
> this.builder =
> HttpFunctionEndpointSpec.builder(
> Target.functionType(functionType), new
> UrlPathTemplate(endpoint.toASCIIString()));
> }
> {code}
> It should also be possible for the RequestReplyFunctionBuilder to receive a
> namespace instead of a function type and to use `Target.namespace(namespace)`
> to initialize the HttpFunctionEndpointSpec Builder instead.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)