Annotation Interface ClientConfig


@Retention(RUNTIME) @Target({FIELD,PARAMETER}) @Repeatable(List.class) public @interface ClientConfig
ClientConfig is used to provide client configuration to any of the three Kafka Clients (AdminClient, Producer and Consumer).
The annotation is supported on fields in a test class, or on a parameter in a lifecycle method or test method.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static @interface 
    The interface List.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The name of the kafka client configuration parameter.
    The value of the kafka client configuration parameter.
  • Element Details

    • name

      String name
      The name of the kafka client configuration parameter.
      Returns:
      the name
    • value

      String value
      The value of the kafka client configuration parameter.
      Returns:
      the value