Class GetLicensesResult

java.lang.Object
org.apache.kafka.clients.admin.GetLicensesResult

public class GetLicensesResult extends Object
The result of ConfluentAdmin.getLicenses(GetLicensesOptions).

Wraps a KafkaFuture of the broker's response data. The future completes when the broker responds, or fails with an exception if the broker returned an error or the request timed out.

  • Method Details

    • result

      public KafkaFuture<org.apache.kafka.common.message.GetLicensesResponseData> result()
      Returns a future that completes with the full response data from the broker. The response includes all active licenses.

      If the broker returned an error (e.g., authorization failure), the future completes exceptionally.

      Security: the response data may contain full license JWT tokens (the licenseJwt field of each entry in licenses()), which are sensitive. Do not log the response data or embed it in exception messages.