title: Read kafka connect worker configs(eg Bootsrap servers property) dynamically inside custom connector
body: <p>I am trying to write a custom source connector for kafka connect and it is requiring for me to write a simple plain kafka producer inside it (that has no relevance with any of the connector properties).The requirement is to send messages about bad records that I encounter and send it to another topic using a plain producer. </p>
  
  <p>So in order to start the producer I need the <strong>bootstrapserver</strong> config that was originally used to start the connect worker.</p>
  
  <p>Is it possible to dynamically read the connect-worker config inside a connector?</p>