Class UpdateLicenseResult

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

public class UpdateLicenseResult extends Object
The result of ConfluentAdmin.updateLicense(String, UpdateLicenseOptions).

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.UpdateLicenseResponseData> result()
      Returns a future that completes with the full response data from the broker. The response includes the updated category and all active licenses.

      If the broker returned an error (e.g., invalid license, expired license, 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.