Example #1
0
 /// <summary>
 /// Check if partition is available (has a leader broker).
 ///
 /// Return true if the partition is available, else false.
 ///
 /// This function must only be called from inside a partitioner function.
 /// </summary>
 public bool PartitionAvailable(int partition) => handle.PartitionAvailable(partition);
Example #2
0
 /// <summary>
 /// Check if partition is available (has a leader broker).
 ///
 /// Return true if the partition is available, else false.
 ///
 /// This function must only be called from inside a partitioner function.
 /// </summary>
 public bool PartitionAvailable(int partition)
 {
     return(handle.PartitionAvailable(partition));
 }