Sending delta table data to Confluent Kakfa using python code

I need the code and details pertaining to the following things.
1.Create a producer application that reads from the delta table and sends it to a Kafka topic.
2.Need pros and cons of Batch and streaming approaches for the above use case