ShadowySpirits opened a new pull request, #5090:
URL: https://github.com/apache/rocketmq/pull/5090
**Make sure set the target branch to `develop`**
## What is the purpose of the change
closed #5089
## Brief changelog
1. move MessageStorePluginContext and other related classes from package
org.apache.rocketmq.broker.plugin to org.apache.rocketmq.store.plugin
2. delegate plugin store configuration by broker
how to use:
```java
public class MyPluginStore extends AbstractPluginMessageStore {
public MyPluginStore(MessageStorePluginContext context, MessageStore
next) {
// create plugin store config
this.storeConfig = new PluginMessageStoreConfig();
// delegate plugin store config by broker
context.registerConfiguration(storeConfig);
// use config to init other components
this.storeImpl = new StoreImpl(storeConfig);
}
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]