[
https://issues.apache.org/jira/browse/FLINK-17848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17127832#comment-17127832
]
Guowei Ma commented on FLINK-17848:
-----------------------------------
You could use env.addSource(...).name("your customize name") to customized your
source name.
> Allow scala datastream api to create named sources
> --------------------------------------------------
>
> Key: FLINK-17848
> URL: https://issues.apache.org/jira/browse/FLINK-17848
> Project: Flink
> Issue Type: Improvement
> Components: API / DataStream, API / Scala
> Reporter: Zack LB
> Priority: Major
>
> Currently you can only provide a custom name to a source operator from the
> java API. There is no matching API on the scala API. It would be nice to
> allow scala to also name sources something custom.
> I'm referring to this [api specifically|#L640]
> The change would be as simple as adding a default parameter to that method
> which mirrors the java api's default value "Custom Source". Or if preferred
> could duplicate the method with a required argument that then passes the
> value to the java function.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)