title: Fetching and Updating Kafka Topic Configurations through Java API
body: <p>I'm writing an application to perform a bunch of operations on a kafka topic through the Java API. I'm able to create topic and add partitions. I need help with fetching topic metadata (such as partitions, brokers) and configurations and updating the configurations.</p>
  
  <p>For reference, I want to update the Topic Level configurations provided here -<a href="https://kafka.apache.org/documentation#configuration" rel="nofollow noreferrer">https://kafka.apache.org/documentation#configuration</a> such as cleanup.policy, compression.type etc</p>