title: Kafka : Reset offset of a specific partition of topic
body: <p>I am trying to reset offset of a specific partition of a kafka topic but i did not find any command.</p>
  
  <p>I was
   able to reset offset of all the partition of a topic using the below command but i want to reset offset only for a specific partitions.</p>
  
  <p>Command which worked for all partitions</p>
  
  <pre><code>kafka-consumer-groups.sh -- bootstap-server localhost:1111 -- command-config &lt;file&gt; -- group &lt;group&gt; -- topic &lt;topic&gt; -- reset-offset -- shift-by -1
  </code></pre>
  
  <p>The above command doesnt accept partition, and resets for all partitions. How can i reset only specific partition. </p>