safeEmitRepeated

public final void safeEmitRepeated(Iterator<T> values, MetadataKey.KeyValueHandler kvh)

Emits one or more key/value pairs for a sequence of repeated metadata values. Call this method in preference to using emitRepeated directly to protect against unbounded reentrant logging.