You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by patricia lee <pl...@gmail.com> on 2023/06/20 07:45:13 UTC
RocksdbStateBackend.enableTtlCompactionFilter
Hi,
From 1.8 to 1.17 flink, enableTtlCompactionFilter() has been removed.
I have seen some examples to do a factory of options to pass as argumets
for settings, is this the right approach? If not what is the best way to
enable the compaction filter in rocksdbstatebackend?
Thanks
Regards
Re: RocksdbStateBackend.enableTtlCompactionFilter
Posted by Yanfei Lei <fr...@gmail.com>.
Hi patricia,
The TTL compaction filter in RocksDB has been enabled in 1.10 by
default and it is always enabled in 1.11+[1], I think there is no
need to explicitly enable the ttl compaction filter.
[1] https://nightlies.apache.org/flink/flink-docs-release-1.17/release-notes/flink-1.11/#removal-of-deprecated-option-to-disable-ttl-compaction-filter
patricia lee <pl...@gmail.com> 于2023年6月20日周二 15:45写道:
>
> Hi,
>
> From 1.8 to 1.17 flink, enableTtlCompactionFilter() has been removed.
>
> I have seen some examples to do a factory of options to pass as argumets for settings, is this the right approach? If not what is the best way to enable the compaction filter in rocksdbstatebackend?
>
> Thanks
>
> Regards
--
Best,
Yanfei