Error connecting to localhost:9092 in Relational Migrator with Kafka

Hi.

I’m getting that error when i’m trying to run the continuos sync job between on premise SQL Server to an Atlas Cluster with Relational Migrator. I’m using Kafka. This project is only for academical purposes. The job is not able to do the snapshot and it keeps running without any progress until it fails.

This error is from Relational Migrator log:

INFO org.apache.http.impl.execchain.RetryExec [http-nio-8278-exec-9] I/O exception (org.apache.http.NoHttpResponseException) caught when processing request to {}->http://localhost:9092: The target server failed to respond
INFO org.apache.http.impl.execchain.RetryExec [http-nio-8278-exec-9] Retrying request to {}->http://localhost:9092

There are no errors in either Kafka logs or Zk logs. I also can run the kafka topics command with the bootstrap server localhost:9092. I used this kafka server in previous projects so i know is working properly.

Ty for your time.

Hello again.

I’m adding new info.

This is my Relational Migrator’s user.properties file

spring.profiles.active: kafka
server.port: 8278
migrator.kafka.bootstrap.servers:localhost:9092
migrator.kafka.connect.url:localhost:9092

I’m running a kafka cluster standalone locally.

Hope this helps.

Ty for your time.

Hi Marcos, is this a different question to the one you have in Trying to use Relational Migrator with Kafka cluster - Working with Data / Connectors & Integrations - MongoDB Developer Community Forums ?