Bumping versions
This commit is contained in:
@@ -48,25 +48,29 @@ public class TracingKafkaReceiver<K, V> implements KafkaReceiver<K, V> {
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates KafkaReceiver that will de decorated by tracing propagator to provide kafka consumer publishing elements
|
||||
* containing tracing context in their reactor context.
|
||||
* @param reactiveKafkaTracingPropagator Instance of trace propagation decorator. Should be available in spring application context as a bean.
|
||||
* @param options Options to pass for underlying {@link KafkaReceiver#create(ReceiverOptions)}
|
||||
* Creates KafkaReceiver that will de decorated by tracing propagator to provide kafka
|
||||
* consumer publishing elements containing tracing context in their reactor context.
|
||||
* @param reactiveKafkaTracingPropagator Instance of trace propagation decorator.
|
||||
* Should be available in spring application context as a bean.
|
||||
* @param options Options to pass for underlying
|
||||
* {@link KafkaReceiver#create(ReceiverOptions)}
|
||||
* @param <K> Key of the record
|
||||
* @param <V> Value of the record
|
||||
*/
|
||||
public static <K, V> KafkaReceiver<K, V> create(ReactiveKafkaTracingPropagator reactiveKafkaTracingPropagator,
|
||||
ReceiverOptions<K, V> options) {
|
||||
return new TracingKafkaReceiver<>(reactiveKafkaTracingPropagator,
|
||||
KafkaReceiver.create(options));
|
||||
return new TracingKafkaReceiver<>(reactiveKafkaTracingPropagator, KafkaReceiver.create(options));
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates KafkaReceiver that will de decorated by tracing propagator to provide kafka consumer publishing elements
|
||||
* containing tracing context in their reactor context.
|
||||
* @param reactiveKafkaTracingPropagator Instance of trace propagation decorator. Should be available in spring application context as a bean.
|
||||
* @param factory Custom factory to provide for underlying {@link KafkaReceiver#create(ConsumerFactory, ReceiverOptions)}
|
||||
* @param options Options to provide for underlying {@link KafkaReceiver#create(ConsumerFactory, ReceiverOptions)}
|
||||
* Creates KafkaReceiver that will de decorated by tracing propagator to provide kafka
|
||||
* consumer publishing elements containing tracing context in their reactor context.
|
||||
* @param reactiveKafkaTracingPropagator Instance of trace propagation decorator.
|
||||
* Should be available in spring application context as a bean.
|
||||
* @param factory Custom factory to provide for underlying
|
||||
* {@link KafkaReceiver#create(ConsumerFactory, ReceiverOptions)}
|
||||
* @param options Options to provide for underlying
|
||||
* {@link KafkaReceiver#create(ConsumerFactory, ReceiverOptions)}
|
||||
* @param <K> Key of the record
|
||||
* @param <V> Value of the record
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user