Interface RequestTestUtils.PartitionMetadataSupplier

Enclosing class:
RequestTestUtils
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface RequestTestUtils.PartitionMetadataSupplier
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.kafka.common.requests.MetadataResponse.PartitionMetadata
    supply(org.apache.kafka.common.protocol.Errors error, org.apache.kafka.common.TopicPartition partition, Optional<Integer> leaderId, Optional<Integer> leaderEpoch, List<Integer> replicas, List<Integer> observers, List<Integer> isr, List<Integer> offlineReplicas)