[jira] [Commented] (FLINK-4992) Expose String parameter for timers in Timely functions and TimerService

2021-04-22 Thread Flink Jira Bot (Jira)


[ 
https://issues.apache.org/jira/browse/FLINK-4992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17329817#comment-17329817
 ] 

Flink Jira Bot commented on FLINK-4992:
---

This issue has been labeled "stale-minor" for 7 days. It is closed now. If you 
are still affected by this or would like to raise the priority of this ticket 
please re-open, removing the label "auto-closed" and raise the ticket priority 
accordingly.

> Expose String parameter for timers in Timely functions and TimerService
> ---
>
> Key: FLINK-4992
> URL: https://issues.apache.org/jira/browse/FLINK-4992
> Project: Flink
>  Issue Type: Improvement
>  Components: API / DataStream
>Affects Versions: 1.2.0
>Reporter: Gyula Fora
>Priority: Minor
>  Labels: stale-minor
>
> Currently it is very hard to register and execute multiple different types 
> timers from the same user function because timers don't carry any metadata.
> We propose to extend the timer registration and onTimer logic by attaching a 
> String argument so users of these features can implement functionality that 
> depends on this addtitional metadata.
> The proposed new methods:
> In the TimerService:
> void registerProcessingTimeTimer(long time, String label);
> void registerEventTimeTimer(long time, String label);
> In the TimelyFunctions:
> void onTimer(long timestamp, String label, TimeDomain timeDomain, 
> TimerService timerService...);
> This extended functionality can be mapped to a String namespace for the 
> internal timer service. I suggest we don't use the term "namespace" here 
> because it just complicates things for the users, I think "label" or "id" or 
> "name" is much simpler to understand.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (FLINK-4992) Expose String parameter for timers in Timely functions and TimerService

2021-04-14 Thread Flink Jira Bot (Jira)


[ 
https://issues.apache.org/jira/browse/FLINK-4992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17321704#comment-17321704
 ] 

Flink Jira Bot commented on FLINK-4992:
---

This issue and all of its Sub-Tasks have not been updated for 180 days. So, it 
has been labeled "stale-minor". If you are still affected by this bug or are 
still interested in this issue, please give an update and remove the label. In 
7 days the issue will be closed automatically.

> Expose String parameter for timers in Timely functions and TimerService
> ---
>
> Key: FLINK-4992
> URL: https://issues.apache.org/jira/browse/FLINK-4992
> Project: Flink
>  Issue Type: Improvement
>  Components: API / DataStream
>Affects Versions: 1.2.0
>Reporter: Gyula Fora
>Priority: Minor
>  Labels: stale-minor
>
> Currently it is very hard to register and execute multiple different types 
> timers from the same user function because timers don't carry any metadata.
> We propose to extend the timer registration and onTimer logic by attaching a 
> String argument so users of these features can implement functionality that 
> depends on this addtitional metadata.
> The proposed new methods:
> In the TimerService:
> void registerProcessingTimeTimer(long time, String label);
> void registerEventTimeTimer(long time, String label);
> In the TimelyFunctions:
> void onTimer(long timestamp, String label, TimeDomain timeDomain, 
> TimerService timerService...);
> This extended functionality can be mapped to a String namespace for the 
> internal timer service. I suggest we don't use the term "namespace" here 
> because it just complicates things for the users, I think "label" or "id" or 
> "name" is much simpler to understand.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (FLINK-4992) Expose String parameter for timers in Timely functions and TimerService

2016-12-07 Thread Jamie Grier (JIRA)

[ 
https://issues.apache.org/jira/browse/FLINK-4992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15730286#comment-15730286
 ] 

Jamie Grier commented on FLINK-4992:


Another use case here is just simply attaching whatever data you need to 
properly handle the callback -- it might even be the element that you were 
processing when you registered the timer.  Without this you are forced to 
implement some sort of buffering of data yourself.

> Expose String parameter for timers in Timely functions and TimerService
> ---
>
> Key: FLINK-4992
> URL: https://issues.apache.org/jira/browse/FLINK-4992
> Project: Flink
>  Issue Type: Improvement
>  Components: Streaming
>Affects Versions: 1.2.0
>Reporter: Gyula Fora
>Priority: Minor
>
> Currently it is very hard to register and execute multiple different types 
> timers from the same user function because timers don't carry any metadata.
> We propose to extend the timer registration and onTimer logic by attaching a 
> String argument so users of these features can implement functionality that 
> depends on this addtitional metadata.
> The proposed new methods:
> In the TimerService:
> void registerProcessingTimeTimer(long time, String label);
> void registerEventTimeTimer(long time, String label);
> In the TimelyFunctions:
> void onTimer(long timestamp, String label, TimeDomain timeDomain, 
> TimerService timerService...);
> This extended functionality can be mapped to a String namespace for the 
> internal timer service. I suggest we don't use the term "namespace" here 
> because it just complicates things for the users, I think "label" or "id" or 
> "name" is much simpler to understand.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FLINK-4992) Expose String parameter for timers in Timely functions and TimerService

2016-11-02 Thread Gyula Fora (JIRA)

[ 
https://issues.apache.org/jira/browse/FLINK-4992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15630678#comment-15630678
 ] 

Gyula Fora commented on FLINK-4992:
---

Well, it doesn't have to be Strings but there should be a way of attaching some 
sort of metadata to the registered timer (like the namespace internally). Can 
you please explain what you meant by different timer services? Do you mean 
attaching metadata to the timerservice instead of the actual registered timer? 

> Expose String parameter for timers in Timely functions and TimerService
> ---
>
> Key: FLINK-4992
> URL: https://issues.apache.org/jira/browse/FLINK-4992
> Project: Flink
>  Issue Type: Improvement
>  Components: Streaming
>Affects Versions: 1.2.0
>Reporter: Gyula Fora
>Priority: Minor
>
> Currently it is very hard to register and execute multiple different types 
> timers from the same user function because timers don't carry any metadata.
> We propose to extend the timer registration and onTimer logic by attaching a 
> String argument so users of these features can implement functionality that 
> depends on this addtitional metadata.
> The proposed new methods:
> In the TimerService:
> void registerProcessingTimeTimer(long time, String label);
> void registerEventTimeTimer(long time, String label);
> In the TimelyFunctions:
> void onTimer(long timestamp, String label, TimeDomain timeDomain, 
> TimerService timerService...);
> This extended functionality can be mapped to a String namespace for the 
> internal timer service. I suggest we don't use the term "namespace" here 
> because it just complicates things for the users, I think "label" or "id" or 
> "name" is much simpler to understand.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FLINK-4992) Expose String parameter for timers in Timely functions and TimerService

2016-11-02 Thread Stephan Ewen (JIRA)

[ 
https://issues.apache.org/jira/browse/FLINK-4992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15630631#comment-15630631
 ] 

Stephan Ewen commented on FLINK-4992:
-

Would having different timer services solve this?

The side of me that cares about performance and efficiency goes into a shock 
when thinking about attaching strings to every element ;-)

> Expose String parameter for timers in Timely functions and TimerService
> ---
>
> Key: FLINK-4992
> URL: https://issues.apache.org/jira/browse/FLINK-4992
> Project: Flink
>  Issue Type: Improvement
>  Components: Streaming
>Affects Versions: 1.2.0
>Reporter: Gyula Fora
>Priority: Minor
>
> Currently it is very hard to register and execute multiple different types 
> timers from the same user function because timers don't carry any metadata.
> We propose to extend the timer registration and onTimer logic by attaching a 
> String argument so users of these features can implement functionality that 
> depends on this addtitional metadata.
> The proposed new methods:
> In the TimerService:
> void registerProcessingTimeTimer(long time, String label);
> void registerEventTimeTimer(long time, String label);
> In the TimelyFunctions:
> void onTimer(long timestamp, String label, TimeDomain timeDomain, 
> TimerService timerService...);
> This extended functionality can be mapped to a String namespace for the 
> internal timer service. I suggest we don't use the term "namespace" here 
> because it just complicates things for the users, I think "label" or "id" or 
> "name" is much simpler to understand.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (FLINK-4992) Expose String parameter for timers in Timely functions and TimerService

2016-11-02 Thread Aljoscha Krettek (JIRA)

[ 
https://issues.apache.org/jira/browse/FLINK-4992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15628302#comment-15628302
 ] 

Aljoscha Krettek commented on FLINK-4992:
-

+1

> Expose String parameter for timers in Timely functions and TimerService
> ---
>
> Key: FLINK-4992
> URL: https://issues.apache.org/jira/browse/FLINK-4992
> Project: Flink
>  Issue Type: Improvement
>  Components: Streaming
>Affects Versions: 1.2.0
>Reporter: Gyula Fora
>Priority: Minor
>
> Currently it is very hard to register and execute multiple different types 
> timers from the same user function because timers don't carry any metadata.
> We propose to extend the timer registration and onTimer logic by attaching a 
> String argument so users of these features can implement functionality that 
> depends on this addtitional metadata.
> The proposed new methods:
> In the TimerService:
> void registerProcessingTimeTimer(long time, String label);
> void registerEventTimeTimer(long time, String label);
> In the TimelyFunctions:
> void onTimer(long timestamp, String label, TimeDomain timeDomain, 
> TimerService timerService...);
> This extended functionality can be mapped to a String namespace for the 
> internal timer service. I suggest we don't use the term "namespace" here 
> because it just complicates things for the users, I think "label" or "id" or 
> "name" is much simpler to understand.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)