[
https://issues.apache.org/jira/browse/KAFKA-3740?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15342979#comment-15342979
]
Guozhang Wang commented on KAFKA-3740:
--------------------------------------
Since we need to pass the StreamsConfig object to the storage layers anyways,
one approach to do that is to expose the configs via `ProcessorContext`, by
leveraging `AbstractConfig.originalsWithPrefix`. For example, users can specify
configs like "rocksdb.xx.xx" and then with a new API:
Map<String, Object> properties ProcessorContext.configs("prefix");
[[email protected]] If you are busy recently could myself or [~theduderog]
pick this up?
> Add configs for RocksDBStores
> -----------------------------
>
> Key: KAFKA-3740
> URL: https://issues.apache.org/jira/browse/KAFKA-3740
> Project: Kafka
> Issue Type: Bug
> Components: streams
> Reporter: Guozhang Wang
> Assignee: Henry Cai
> Labels: api, newbie
>
> Today most of the rocksDB configs are hard written inside {{RocksDBStore}},
> or the default values are directly used. We need to make them configurable
> for advanced users. For example, some default values may not work perfectly
> for some scenarios:
> https://github.com/HenryCaiHaiying/kafka/commit/ccc4e25b110cd33eea47b40a2f6bf17ba0924576
>
> One way of doing that is to introduce a "RocksDBStoreConfigs" objects similar
> to "StreamsConfig", which defines all related rocksDB options configs, that
> can be passed as key-value pairs to "StreamsConfig".
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)