Skip to content

Commit

Permalink
Delegate clientInstanceId(Duration) operation
Browse files Browse the repository at this point in the history
Delegate clientInstanceId(Duration) operation according to the
introduction of this new method in 3.7.0 of Kafka.

#497
  • Loading branch information
smcvb committed Mar 11, 2024
1 parent 5e8a2ac commit 6356187
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
import org.apache.kafka.common.MetricName;
import org.apache.kafka.common.PartitionInfo;
import org.apache.kafka.common.TopicPartition;
import org.apache.kafka.common.Uuid;
import org.apache.kafka.common.errors.ProducerFencedException;
import org.axonframework.common.AxonConfigurationException;
import org.slf4j.Logger;
Expand Down Expand Up @@ -264,6 +265,11 @@ public void abortTransaction() throws ProducerFencedException {
this.delegate.abortTransaction();
}

@Override
public Uuid clientInstanceId(Duration duration) {
return delegate.clientInstanceId(duration);
}

@Override
public void close() {
this.delegate.close();
Expand Down

0 comments on commit 6356187

Please sign in to comment.