title: Kafka consumer code for 4 topics
body: <p>I want to write  kafka consumer code for 4 topics (topic1, topic2, topic3, topic4).<br>
  And I have 4 tables in my database (table1, table2, table3, table4).<br>
  So whatever data is there in topics should append in the respective tables. </p>
  
  <p>Like:</p>
  
  <pre><code>topic1 data will be appended to table1
  topic2 data will be appended to table2
  topic3 data will be appended to table3
  topic4 data will be appended to table4
  </code></pre>