[ 
https://issues.apache.org/jira/browse/FLINK-3355?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15137069#comment-15137069
 ] 

Gyula Fora commented on FLINK-3355:
-----------------------------------

Since the Options class is not serializable it is probably better to use a 
factory class that the user can plass which can create the Options file on 
demand. This should be stored in the checkpoints as well.

For example:

interface OptionsFactory {
    Options createOptions();
}

> Allow passing RocksDB Option to RocksDBStateBackend
> ---------------------------------------------------
>
>                 Key: FLINK-3355
>                 URL: https://issues.apache.org/jira/browse/FLINK-3355
>             Project: Flink
>          Issue Type: Improvement
>          Components: Streaming
>            Reporter: Gyula Fora
>            Priority: Critical
>
> Currently the RocksDB state backend does not allow users to set the 
> parameters of the created store which might lead to suboptimal performance on 
> some workloads.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to