No results for

Powered byAlgolia

The ServiceDisruptor() constructor creates a new instance of a ServiceDisruptor class.

ParameterDescription
servicename of the service
namespacenamespace on which the service is defined
optionsoptions for controlling the behavior of the disruptor

Options

The following options control the creation and behavior of the ServiceDisruptor:

AttributeDescription
injectTimeoutmaximum time for waiting the disruptor to be ready in the target pods, in seconds (default 30s). Zero value forces default. Negative values force no waiting.

Example

const disruptor = new ServiceDisruptor('my-service', 'my-namespace');