JDBC: Support connection pooling

2022-01-31 Thread Dario Heinisch
Hey there, Hope everyone is well! Correct me if I am wrong but it seems like Flink does not support connection pooling for JDBC sinks. So for every sink we open a connection, if we have N sinks we have N open connections. There are multiple JDBC connection pooling libraries which can be used

Re: Disable usage of TumblingEventTimeWindows when EventTime is disabled?

2021-10-23 Thread Dario Heinisch
this issue, then post it on the ticket. Cheers, Till On Thu, Oct 21, 2021 at 4:40 PM Dario Heinisch wrote: Hey there, When one uses .window(TumblingEventTimeWindows.of(SOME_TIME)) it will never window any values if the user uses WatermarkStrategy.>noWaterma

[jira] [Created] (FLINK-24623) Prevent usage of EventTimeWindows when EventTime is disabled

2021-10-23 Thread Dario Heinisch (Jira)
Dario Heinisch created FLINK-24623: -- Summary: Prevent usage of EventTimeWindows when EventTime is disabled Key: FLINK-24623 URL: https://issues.apache.org/jira/browse/FLINK-24623 Project: Flink

Disable usage of TumblingEventTimeWindows when EventTime is disabled?

2021-10-21 Thread Dario Heinisch
Hey there, When one uses .window(TumblingEventTimeWindows.of(SOME_TIME)) it will never window any values if the user uses WatermarkStrategy.>noWatermarks()     .withTimestampAssigner((t, timestamp) -> t.f0) ) I was wondering whether Flink should throw an Exception at the s