public static class TracingProperties.EventProcessorProperties extends Object
EventProcessor
implementations.Constructor and Description |
---|
EventProcessorProperties() |
Modifier and Type | Method and Description |
---|---|
Duration |
getDistributedInSameTraceTimeLimit()
The time limit for events handled by a
StreamingEventProcessor to be
traced in the same trace as the trace that published it. |
boolean |
isDisableBatchTrace()
Disables the creation of a batch trace.
|
boolean |
isDistributedInSameTrace()
Whether distributed events should be part of the same trace.
|
void |
setDisableBatchTrace(boolean disableBatchTrace)
Disables the creation of a batch trace.
|
void |
setDistributedInSameTrace(boolean distributedInSameTrace)
Whether distributed events should be part of the same trace.
|
void |
setDistributedInSameTraceTimeLimit(Duration distributedInSameTraceTimeLimit)
The time limit for events handled by a
StreamingEventProcessor to be
traced in the same trace as the trace that published it. |
public boolean isDisableBatchTrace()
public void setDisableBatchTrace(boolean disableBatchTrace)
disableBatchTrace
- Whether batch tracing is disabled.public boolean isDistributedInSameTrace()
false
. When set to
true
, the EventProcessor
will create a new trace each batch
event, as long as the batch is handled within the time limit set by
distributedInSameTraceTimeLimit
.public void setDistributedInSameTrace(boolean distributedInSameTrace)
false
. When set to
true
, the EventProcessor
will create a new trace each batch
event, as long as the batch is handled within the time limit set by
distributedInSameTraceTimeLimit
.distributedInSameTrace
- Whether distributed events should be part of the same trace.public Duration getDistributedInSameTraceTimeLimit()
StreamingEventProcessor
to be
traced in the same trace as the trace that published it. Defaults to 2 minutes. Only used when
distributedInSameTrace
is true
.StreamingEventProcessor
to be traced in the same trace as the trace
that published it.public void setDistributedInSameTraceTimeLimit(Duration distributedInSameTraceTimeLimit)
StreamingEventProcessor
to be
traced in the same trace as the trace that published it. Defaults to 2 minutes. Only used when
distributedInSameTrace
is true
.distributedInSameTraceTimeLimit
- The time limit for events handled by a
StreamingEventProcessor
to be
traced in the same trace as the trace that published it.Copyright © 2010–2024. All rights reserved.