Class GetLicensesResult
java.lang.Object
org.apache.kafka.clients.admin.GetLicensesResult
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 Summary
Modifier and TypeMethodDescriptionKafkaFuture<org.apache.kafka.common.message.GetLicensesResponseData> 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 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
licenseJwtfield of each entry inlicenses()), which are sensitive. Do not log the response data or embed it in exception messages.
-