Class AdminClient

  • All Implemented Interfaces:
    java.lang.AutoCloseable, Admin
    Direct Known Subclasses:
    KafkaAdminClient

    public abstract class AdminClient
    extends java.lang.Object
    implements Admin
    The base class for in-built admin clients. Client code should use the newer Admin interface in preference to this class. This class may be removed in a later release, but has not be marked as deprecated to avoid unnecessary noise.
    • Constructor Detail

      • AdminClient

        public AdminClient()
    • Method Detail

      • create

        public static AdminClient create​(java.util.Properties props)
        Create a new Admin with the given configuration.
        Parameters:
        props - The configuration.
        Returns:
        The new KafkaAdminClient.
      • create

        public static AdminClient create​(java.util.Map<java.lang.String,​java.lang.Object> conf)
        Create a new Admin with the given configuration.
        Parameters:
        conf - The configuration.
        Returns:
        The new KafkaAdminClient.