##==================================================================== ## EMQX Hooks ##==================================================================== ## The default value or action will be returned, while the request to ## the gRPC server failed or no available grpc server running. ## ## Default: deny ## Value: ignore | deny #exhook.request_failed_action = deny ## The timeout to request grpc server ## ## Default: 5s ## Value: Duration #exhook.request_timeout = 5s ## Whether to automatically reconnect (initialize) the gRPC server ## ## When gRPC is not available, exhook tries to request the gRPC service at ## that interval and reinitialize the list of mounted hooks. ## ## Default: false ## Value: false | Duration #exhook.auto_reconnect = 60s ## The exhook execution priority on the Chain of the emqx hooks. ## ## Modify the field to fix the exhook execute order before/after other plugins/modules. ## By default, most hooks registered by plugins or modules have a priority of 0. ## ## With the same priority of 0, the execute order depends on hookpoints mount order. ## Scilicet is the loaded order of plugins/ modules. ## ## Default: 0 ## Value: Integer #exhook.hook_priority = 0 ##-------------------------------------------------------------------- ## The Hook callback servers ## The gRPC server url ## ## exhook.server.$name.url = url() exhook.server.default.url = http://127.0.0.1:9000 #exhook.server.default.ssl.cacertfile = {{ platform_etc_dir }}/certs/cacert.pem #exhook.server.default.ssl.certfile = {{ platform_etc_dir }}/certs/cert.pem #exhook.server.default.ssl.keyfile = {{ platform_etc_dir }}/certs/key.pem