Class ClientAppInfoParser

java.lang.Object
io.confluent.kafka.schemaregistry.utils.ClientAppInfoParser

public class ClientAppInfoParser extends Object
Utility class to read Schema Registry client application information such as version and commit ID at runtime.
  • Constructor Details

    • ClientAppInfoParser

      public ClientAppInfoParser()
  • Method Details

    • getVersion

      public static String getVersion()
      Returns the version of the Schema Registry client.
      Returns:
      The version string, or "unknown" if not available
    • getClientVersion

      public static String getClientVersion()
      Builds the Confluent-Client-Version header value. Format: "java/{version}"
      Returns:
      The client version string