Skip to content

Commit

Permalink
[ISSUE apache#5923] Fix tiered store README.md error about Configurat…
Browse files Browse the repository at this point in the history
…ion (apache#8110)
  • Loading branch information
yuz10 authored May 8, 2024
1 parent d9742a6 commit 634092a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tieredstore/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This article is a cookbook for RocketMQ tiered storage.
Use the following steps to easily use tiered storage

1. Change `messageStorePlugIn` to `org.apache.rocketmq.tieredstore.MessageStoreExtend` in your `broker.conf`.
2. Configure your backend service provider. change `tieredBackendServiceProvider` to your storage medium implement. We give a default implement: POSIX provider, and you need to change `tieredStoreFilepath` to the mount point of storage medium for tiered storage.
2. Configure your backend service provider. change `tieredBackendServiceProvider` to your storage medium implement. We give a default implement: POSIX provider, and you need to change `tieredStoreFilePath` to the mount point of storage medium for tiered storage.
3. Start the broker and enjoy!

## Configuration
Expand All @@ -25,7 +25,7 @@ The following are some core configurations, for more details, see [TieredMessage
| messageStorePlugIn | | | Set to org.apache.rocketmq.tieredstore.MessageStoreExtend to use tiered storage |
| tieredMetadataServiceProvider | org.apache.rocketmq.tieredstore.metadata.DefaultMetadataStore | | Select your metadata provider |
| tieredBackendServiceProvider | org.apache.rocketmq.tieredstore.provider.PosixFileSegment | | Select your backend service provider |
| tieredStoreFilepath | | | Select the directory using for tiered storage, only for POSIX provider. |
| tieredStoreFilePath | | | Select the directory using for tiered storage, only for POSIX provider. |
| tieredStorageLevel | NOT_IN_DISK | | The options are DISABLE, NOT_IN_DISK, NOT_IN_MEM, FORCE |
| tieredStoreFileReservedTime | 72 | hour | Default topic TTL in tiered storage |
| tieredStoreGroupCommitCount | 2500 | | The number of messages that trigger one batch transfer |
Expand Down

0 comments on commit 634092a

Please sign in to comment.