ReceiverOptions.getReceiverRuntimeMetricEnabled 方法

定义

Knob to enable/disable runtime metric of the receiver. If this is set to true and is passed to createReceiver(final String consumerGroupName, final String partitionId, final EventPosition eventPosition), after the first receive(final int maxEventCount) call, getRuntimeInformation() is populated.

Enabling this knob will add 3 additional properties to all EventData's received on the createReceiver(final String consumerGroupName, final String partitionId, final EventPosition eventPosition).

public boolean getReceiverRuntimeMetricEnabled()

返回

boolean

the boolean indicating, whether, the runtime metric of the receiver was enabled

适用于