use rabbitmq_auth_backend_http and rabbitmq_auth_backend_cache,but still be queries within the cache time #10276
-
I use RabbitMQ 3.12.10 for my mqtt broker , use rabbitmq_auth_backend_cache and rabbitmq_auth_backend_http for user check ,。The specific configuration is as follows
Now I have encountered a problem. The same client publish message will still be verified within the cache time (60s), but it will not be verified every time, almost every 5s. Is it a problem with my configuration? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@mthgh0818 if you use the caching backend, you must be OK with the fact that no external services will be consulted during the caching period. 5s sounds like the standard management UI refresh rate. Which uses user tags for certain parts of its permission tags. You can point |
Beta Was this translation helpful? Give feedback.
@mthgh0818 if you use the caching backend, you must be OK with the fact that no external services will be consulted during the caching period.
5s sounds like the standard management UI refresh rate. Which uses user tags for certain parts of its permission tags.
You can point
resource_path
andtopic_path
to (your service's) HTTP endpoints that allow all operations or refuse all operations. You cannot partially disable what authZ operations a RabbitMQ node performs.