Reactor kafka wrapper delegates to wrong method (#10333)

This commit is contained in:
Lauri Tulmin 2024-01-29 04:23:02 +02:00 committed by GitHub
parent 01a2f357b2
commit bc034f3b1b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ public final class InstrumentedKafkaReceiver<K, V> implements KafkaReceiver<K, V
@Override
public Flux<Flux<ConsumerRecord<K, V>>> receiveExactlyOnce(
TransactionManager transactionManager) {
return actual.receiveAutoAck().map(InstrumentedKafkaReceiver::wrap);
return actual.receiveExactlyOnce(transactionManager).map(InstrumentedKafkaReceiver::wrap);
}
// added in 1.3.3