Endpoint controls
Expose only the queue operations your service needs.
Read-only by default#
stats is always enabled. The default optional endpoint set is ['metrics']. Setting endpoints: [] exposes statistics without the optional metrics endpoint.
Read-only does not mean public. Apply your own guards before exposing queue or Redis information to an untrusted network.
Enable actions explicitly#
QueuebertModule.forRoot({
queues: [{ name: 'emails', processor: EmailProcessor }],
endpoints: ['metrics', 'pause', 'resume'],
auth: { guards: [AdminGuard] },
});EmailProcessor and AdminGuard above belong to your application. The Quick start shows module registration; Auth and guards explains route protection.
The supported optional endpoints are metrics, pause, resume, clean, drain, and migrations. Only add actions after you have reviewed who can call them.
Queue and cache migrations#
Enabling migrations enables workflows that move queue or cache data between Redis instances. They are not monitoring-only operations. Read Multi-Redis and migrations before enabling them.
For concrete request paths and parameters, use the existing HTTP API reference.