Re: Output from RichAsyncFunction on failure

2021-06-11 Thread Satish Saley
One way I thought to achieve this is - 1. For failures, add a special record to collection in RichAsyncFunction 2. Filter out those special records from the DataStream and push to another Kafka Let me know if it makes sense. On Fri, Jun 11, 2021 at 10:40 AM Satish Saley wrote: > Hi, > - I have

Output from RichAsyncFunction on failure

2021-06-11 Thread Satish Saley
Hi, - I have a kafka consumer to read events. - Then, I have RichAsyncFunction to call a remote service to get more information about that event. If the remote call fails after X number of retries, I don't want flink to fail the job and start processing from the beginning. Instead I would like to

Re: [DISCUSS]FLIP-150: Introduce Hybrid Source

2021-06-11 Thread Thomas Weise
Thanks for the suggestions and feedback on the PR. A variation of hybrid source that can switch back and forth was brought up before and it is something that will be eventually required. It was also suggested by Stephan that in the future there may be more than one implementation of hybrid source

Re: Add control mode for flink

2021-06-11 Thread 刘建刚
Thanks Till for the reply. The suggestions are really helpful for the topic. Maybe something I mention is not clear or not detail. Here are what I want to say: 1. Changing log level is not suitable for the topic as you said. Because our inner log4j is old, so this feature is implemented in

[jira] [Created] (FLINK-22976) Whether to consider adding config-option to control whether to exclude record.key value from record.value value

2021-06-11 Thread hehuiyuan (Jira)
hehuiyuan created FLINK-22976: - Summary: Whether to consider adding config-option to control whether to exclude record.key value from record.value value Key: FLINK-22976 URL:

[jira] [Created] (FLINK-22975) Specify port or range for k8s service

2021-06-11 Thread Jun Zhang (Jira)
Jun Zhang created FLINK-22975: - Summary: Specify port or range for k8s service Key: FLINK-22975 URL: https://issues.apache.org/jira/browse/FLINK-22975 Project: Flink Issue Type: Improvement

Re: [table-walkthrough] docker-compose build issues

2021-06-11 Thread Lingfeng Pu
Hi, I apologize that I forgot the attachments in my last post. I'll repost my question with attachments this time: *I have successfully run the project "table-walkthrough" on IDEA (w/t errors but warnings)*, *I'm now trying to build this project by using the "docker-compose" command* as the

[jira] [Created] (FLINK-22974) No execution checkpointing config desc in flink-conf.yaml

2021-06-11 Thread tinawenqiao (Jira)
tinawenqiao created FLINK-22974: --- Summary: No execution checkpointing config desc in flink-conf.yaml Key: FLINK-22974 URL: https://issues.apache.org/jira/browse/FLINK-22974 Project: Flink

Re: Add control mode for flink

2021-06-11 Thread Till Rohrmann
Thanks for starting this discussion. I do see the benefit of dynamically configuring your Flink job and the cluster running it. Some of the use cases which were mentioned here are already possible. E.g. adjusting the log level dynamically can be done by configuring an appropriate logging backend

[jira] [Created] (FLINK-22973) Provide benchmark for unaligned checkpoints performance

2021-06-11 Thread Piotr Nowojski (Jira)
Piotr Nowojski created FLINK-22973: -- Summary: Provide benchmark for unaligned checkpoints performance Key: FLINK-22973 URL: https://issues.apache.org/jira/browse/FLINK-22973 Project: Flink

[DISCUSS] Lifecycle of ShuffleMaster and its Relationship with JobMaster and PartitionTracker

2021-06-11 Thread Yingjie Cao
Hi devs, I'd like to start a discussion about "Lifecycle of ShuffleMaster and its Relationship with JobMaster and PartitionTracker". (These are things we found when moving our external shuffle to the pluggable shuffle service framework.) The mail client may fail to display the right format. If

Re: Flink TM Heartbeat Timeout

2021-06-11 Thread Till Rohrmann
Hi Lu, longer heartbeat timeouts will have the effect that a loss of component (e.g. a TaskManager) will take longer to be detected. This will affect the recovery speed of your application in case of such a situation. On the upside, longer heartbeat timeouts allow working on less reliable

Re: Add control mode for flink

2021-06-11 Thread Jary Zhen
big +1 for this feature, 1. Reset kafka offset in certain cases. 2. Stop checkpoint in certain cases. 3. Change log level for debug. 刘建刚 于2021年6月11日周五 下午12:17写道: > Thanks for all the discussions and suggestions. Since the topic has > been discussed for about a week, it is time

[jira] [Created] (FLINK-22972) Deprecate/Remove StreamOperator#dispose method

2021-06-11 Thread Dawid Wysakowicz (Jira)
Dawid Wysakowicz created FLINK-22972: Summary: Deprecate/Remove StreamOperator#dispose method Key: FLINK-22972 URL: https://issues.apache.org/jira/browse/FLINK-22972 Project: Flink Issue

[jira] [Created] (FLINK-22971) Initialization of Testcontainers unstable on Azure

2021-06-11 Thread Xintong Song (Jira)
Xintong Song created FLINK-22971: Summary: Initialization of Testcontainers unstable on Azure Key: FLINK-22971 URL: https://issues.apache.org/jira/browse/FLINK-22971 Project: Flink Issue

Re: Re: [DISCUSS] FLIP-169: DataStream API for Fine-Grained Resource Requirements

2021-06-11 Thread Yun Gao
Hi, Very thanks @Yangze for bringing up this discuss. Overall +1 for exposing the fine-grained resource requirements in the DataStream API. One similar issue as Arvid has pointed out is that users may also creating different SlotSharingGroup objects, with different names but with different