Hi,
Looking at the code, there is no ability to disable the rollover-interval.

But I'm wondering, what are you trying to do? Write a file up to the
configured file-size? Note that if you're using auto compaction, on every
checkpoint you'll have a rollover, regardless of the rollover-interval.

I cc'ed Fabian in the discussion which has a better knowledge than me on
file sink relates topics.

FG

On Mon, Nov 22, 2021 at 3:51 PM Matthias Pohl <matth...@ververica.com>
wrote:

> Hi Kamil,
> by looking at the code I'd say that the only option you have is to
> increase the parameter you already mentioned to a very high number. But I'm
> not sure about the side effects. I'm gonna add Francesco to this thread.
> Maybe he has better ideas on how to answer your question.
>
> Best,
> Matthias
>
> On Mon, Nov 22, 2021 at 10:32 AM Kamil ty <kamilt...@gmail.com> wrote:
>
>> Hey all,
>>
>> I wanted to know if there is a way to disable the interval rolling policy
>> in the Table API filesystem connector.
>> From flink docs: FileSystem | Apache Flink
>> <https://nightlies.apache.org/flink/flink-docs-release-1.13/docs/connectors/table/filesystem/#rolling-policy>
>> The key to change the interval: sink.rolling-policy.rollover-interval
>> Is it possible to fully disable this rolling policy or the only solution
>> is to set a very big duration?
>>
>> Best Regards
>> Kamil
>>
>

Reply via email to