I am trying out Kafka by running it on Windows 10 machines (JVM). Kafka is working fine along with zookeeper. I am also trying to run Kafka connect to ingest data from Postgres running inside docker. After much configuration, I was able to establish a connection with Postgres (without any errors) however I do not get the data ingested from the table into Kafka topic, yet also not see any errors. I know it is not recommended to run kafka directly on JVM but I am just testing it out and wanted to make sure that I can ingest data from postgres into a kafka topic. Am I missing something in the configuration of the jdbc connector properties file. I have also placed the jar for kafka-connect-jdbc and postgres-jdbc.
name=postgress-to-topic
connector.class=io.confluent.connect.jdbc.JdbcSourceConnector
connection.url=jdbc:postgresql://host.docker.internal:49153/StudentDB
connection.user=<username>
connection.password=<password>
topic.prefix=test-events
mode=incrementing
incrementing.column.name=id
errors.log.enable=true
errors.log.include.messages=true
tasks.max=1
poll.interval.ms =100
schema.pattern=public
table.whitelist=Students
key.converter.schemas.enable=false
value.converter.schemas.enable=false