vproxy plugin samples
All the samples have the following common prerequisites:
java
andjavac
in$PATH
- a running vproxy instance
To automatically load plugins into the vproxy instance, it also requires:
redis-cli
in$PATH
- the vproxy instance has
allowSystemCommandInNonStdIOController
startup argument - has a running
resp-controller
with listening address and password defined in include/Makefile.admin.mk
(address=127.0.0.1
port=16309
andpass=123456
)
To start aresp-controller
, typeSystem: add resp-controller resp-controller address 127.0.0.1:16309 password 123456
into vproxy
Run make
to prepare the necessary classes and resources.
Run make install
to load the plugin.
Run make uninstall
to unload the plugin.
Run make clean
to remove generated files.