Skip to content

Commit

Permalink
[hotfix] Add dependency snippet for RocksDBStateBackend to state_back…
Browse files Browse the repository at this point in the history
…ends.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 apache#7480.
  • Loading branch information
intsmaze authored and tillrohrmann committed Jan 14, 2019
1 parent 6c8abc1 commit f305b64
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/ops/state/state_backends.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,16 @@ env.setStateBackend(new FsStateBackend("hdfs:https://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

Expand Down

0 comments on commit f305b64

Please sign in to comment.