Annotation Interface TopicPartitions


@Retention(RUNTIME) @Target({FIELD,PARAMETER}) public @interface TopicPartitions
Used to specify the number of partitions of a Topic injected into a test as field or parameter.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    int
    The number of partitions.
  • Element Details

    • value

      int value
      The number of partitions.
      Returns:
      number of partitions.