You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by tr...@apache.org on 2019/01/14 10:25:13 UTC

[flink] branch master updated: [hotfix] Add dependency snippet for RocksDBStateBackend to state_backends.md

This is an automated email from the ASF dual-hosted git repository.

trohrmann pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/master by this push:
     new f305b64  [hotfix] Add dependency snippet for RocksDBStateBackend to state_backends.md
f305b64 is described below

commit f305b64c290f55fcd527de9d848cfbe0ad79bca8
Author: intsmaze <li...@vip.qq.com>
AuthorDate: Mon Jan 14 16:42:12 2019 +0800

    [hotfix] Add dependency snippet for RocksDBStateBackend to state_backends.md
    
    In order to use the RocksDBStateBackend, the user has to add the flink-statebackend-rocksdb
    dependency to his project. This commit adds this information to the state_backends.md.
    
    This closes #7480.
---
 docs/ops/state/state_backends.md | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/docs/ops/state/state_backends.md b/docs/ops/state/state_backends.md
index 70663f6..c167803 100644
--- a/docs/ops/state/state_backends.md
+++ b/docs/ops/state/state_backends.md
@@ -146,6 +146,16 @@ env.setStateBackend(new FsStateBackend("hdfs://namenode:40010/flink/checkpoints"
 </div>
 </div>
 
+If you want to use the `RocksDBStateBackend`, then you have to add the following dependency to your Flink project.
+
+{% highlight xml %}
+<dependency>
+    <groupId>org.apache.flink</groupId>
+    <artifactId>flink-statebackend-rocksdb{{ site.scala_version_suffix }}</artifactId>
+    <version>{{ site.version }}</version>
+</dependency>
+{% endhighlight %}
+
 
 ### Setting Default State Backend