Class UpdateLicenseResult
java.lang.Object
org.apache.kafka.clients.admin.UpdateLicenseResult
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 Summary
Modifier and TypeMethodDescriptionKafkaFuture<org.apache.kafka.common.message.UpdateLicenseResponseData> result()Returns a future that completes with the full response data from the broker.
-
Method Details
-
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
licenseJwtfield of each entry inlicenses()), which are sensitive. Do not log the response data or embed it in exception messages.
-