# Admin

- Create topics.
- Delete topics.
- List topics.
- Describe topics.
- Describe cluster.
- List consumer groups.
- Describe consumer groups.
- Describe configs.
- Alter configs.

```rust
use kafkit_client::{AdminConfig, KafkaAdmin, NewTopic};

# async fn example() -> kafkit_client::Result<()> {
let admin = KafkaAdmin::connect(AdminConfig::new("localhost:9092")).await?;
admin.create_topics([NewTopic::new("orders", 3, 1)]).await?;
let topics = admin.list_topics().await?;
# let _ = topics;
# Ok(())
# }
```

