flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "victor.reut" <victor.r...@itrexgroup.com>
Subject Update timeWindow size and trigger value at runtime
Date Mon, 11 Sep 2017 07:27:26 GMT

I want to have an opportunity to update timeWindow size and trigger value in
KeyedStream dynamically at runtime. For example, I have such a piece of

    DataStream<SampleObject> stream = env.addSource(new
FlinkKafkaConsumer09<>(TOPIC, new JSONDeserializer(), properties));

    Integer numMinutes = ...
    Integer triggersCount = ...

                        .reduce(new MetricsReduceFunction() , new

If I just change the values of variables numMinutes and triggersCount, Flink
does not update them. Also I haven't found a good solution in google. 
Does anybody know how to solve this issue?

Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/

View raw message