Comments (6)
The method seems not to be called admin_reloadPlugin
as indicated in #261 but looking at the code is seems to be plugins_reloadPluginConfig
and have parameters. I think Parameters may be the name of the plugin that should be reloaded, but I still have to make sure as my last try was not working.
from besu-docs.
@NicolasMassart - once you get this working could you paste a working example into here Bryon can use.
from besu-docs.
Was there a CLI option related to this?
from besu-docs.
No, only the RPC. No need for a CLI as it would mean that you stop and start Besu to run it, and if you do so, it reloads plugins. SO the only reason you need to reload is when you don't want to restart Besu, hence the RPC method. Will provide the method syntax here asap.
from besu-docs.
In theory, a sample request to reload a Kafka plugin config using RPC would be :
{"jsonrpc":"2.0","method":"plugins_reloadPluginConfig","params":["tech.pegasys.plus.plugin.kafka.KafkaPlugin"],"id":1}
with the plugin name being the fully qualified java name of the plugin class.
But I'm having issues with internal error when trying this so I will add more details once I'm sure it works.
from besu-docs.
The issue on this Kafka example is related to some changes in the Event stream plugin (see private Jira https://pegasys1.atlassian.net/browse/PIE-2292).
Also I wonder, as the Kafka plugin is not open source, if we should use it as an example. But we have no open source plugins, so we may use a fake plugin name in our example request.
It would then be something like: {"jsonrpc":"2.0","method":"plugins_reloadPluginConfig","params":["com.example.SamplePlugin"],"id":1}
from besu-docs.
Related Issues (20)
- Document `fixedBaseFee` genesis option
- Remove deprecated Forest pruning
- No docs for `debug_traceTransaction` API HOT 2
- The `sequenced` transaction pool behaviour isn't documented
- Replace Goerli with Holesky
- Document plugins best practices
- Document plugin lifecycle
- Add a "Create a simple plugin" tutorial
- Document how to configure a plugin
- Document how to deploy a plugin
- Document how to test a plugin
- Document how to troubleshoot a plugin
- Document how to use the Plugin API
- Document how to use plugin metrics
- Document the Plugin API
- Add the `decode` subcommand
- Document how to use the cached genesis state.
- Document option to configure the price bump percentage required to replace blob transactions
- Add logging information about how to view invalid transactions in Log4J2
- Document the ` tx-pool-max-prioritized-by-type` option
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from besu-docs.