pub async fn ensure_compacted_topic(
bootstrap: &str,
topic: &str,
security: Option<ClientSecurity>,
) -> Result<(), String>Expand description
Ensure a compacted topic exists with one partition and the default replica count.
ยงErrors
Returns an error when configuration is invalid, protocol encoding fails, the broker rejects the request, or transport I/O fails.