84.2. 옵션

다음 옵션은 모두 disruptor:disruptor-vm: 구성 요소에 모두 유효합니다.

Disruptor 구성 요소는 아래에 나열된 8 가지 옵션을 지원합니다.

이름설명기본값유형

defaultConcurrent Consumers (consumer)

기본 동시 소비자 수를 구성하려면To configure the default number of concurrent consumers

1

int

기본Multiple Consumers (consumer)

여러 소비자에 대한 기본값을 구성하려면To configure the default value for multiple consumers

false

boolean

defaultProducerType (producer)

DisruptorProducerType의 기본값을 구성하려면 기본값은 Multi입니다.

multi

DisruptorProducerType

defaultWaitStrategy (consumer)

DisruptorWaitStrategy의 기본값을 구성하려면 기본값은 Blocking입니다.

차단

DisruptorWaitStrategy

defaultBlockWhenFull (producer)

전체 값이 true인 경우 block의 기본값을 구성하려면 다음을 수행합니다.

true

boolean

queueSize (일반)

링 버퍼 크기를 구성하려면 더 이상 사용되지 않음

 

int

bufferSize (일반)

링 버퍼 크기를 구성하려면 다음을 수행합니다.

1024

int

resolveProperty Placeholders (advanced)

구성 요소가 시작 시 자체적으로 속성 자리 표시자를 확인해야 하는지 여부입니다. String 유형의 속성만 속성 자리 표시자를 사용할 수 있습니다.Only properties which are of String type can use property placeholders.

true

boolean

Disruptor 엔드포인트는 URI 구문을 사용하여 구성됩니다.

disruptor:name

다음 경로 및 쿼리 매개변수를 사용합니다.

84.2.1. 경로 매개 변수 (1 매개변수):

이름설명기본값유형

name

필요한 큐 이름

 

문자열