Struct rdkafka::admin::AdminOptions
source · [−]pub struct AdminOptions { /* private fields */ }
Expand description
Options for an admin API request.
Implementations
Creates a new AdminOptions
.
Sets the overall request timeout, including broker lookup, request transmission, operation time on broker, and response.
Defaults to the socket.timeout.ms
configuration parameter.
Sets the broker’s operation timeout, such as the timeout for CreateTopics to complete the creation of topics on the controller before returning a result to the application.
If unset (the default), the API calls will return immediately after triggering the operation.
Only the CreateTopics, DeleteTopics, and CreatePartitions API calls respect this option.
Tells the broker to only validate the request, without performing the requested operation.
Defaults to false.
Trait Implementations
Returns the “default value” for a type. Read more