yugabyte / yb-kafka-connector

Kafka Connect YugabyteDB Connector
Apache License 2.0
20 stars 9 forks source link

Not working with docker-compose file #14

Open sfc-gh-adlee opened 3 years ago

sfc-gh-adlee commented 3 years ago

I tried running this with a docker-compose file for confluent (CP ALL IN ONE).

I am also running yugabyte in a docker compose file.

However, when i run the java file I keeping getting a

java -jar yb-cdc-connector.jar \ --table_name yugabyte.users \ --master_addrs yb-master-n1:7100 \ --kafka_addrs broker:9092 \ --schema_registry_addrs schema-registry:8081 \ --topic_name users \ --table_schema_path table_schema_path.avsc \ --primary_key_schema_path primary_key_schema_path.asvc

2021-10-03 17:37:52,045 [INFO|org.yb.cdc.KafkaConnector|KafkaConnector] Created new stream with id 117dd8bbfb6a4340bdf4c340de6fe9b1
2021-10-03 17:37:52,058 [INFO|org.yb.cdc.KafkaConnector|KafkaConnector] Polling for new tablet d40e3478b3924d728077451b0f9b1d1d
2021-10-03 17:37:52,062 [INFO|org.yb.cdc.KafkaConnector|KafkaConnector] Polling for new tablet 485053beb4a242e6a26a2382510fd020
2021-10-03 17:37:52,063 [INFO|org.yb.cdc.KafkaConnector|KafkaConnector] Polling for new tablet ef6e1136934346b58d2192f0c6bc7483
2021-10-03 17:37:52,063 [INFO|org.yb.cdc.KafkaConnector|KafkaConnector] Polling for new tablet c372ec5094f344348cafec8169f34a1c
2021-10-03 17:37:52,064 [INFO|org.yb.cdc.KafkaConnector|KafkaConnector] Polling for new tablet 81fe4f5e277b4c2bb076162c4bda1c46
2021-10-03 17:37:52,064 [INFO|org.yb.cdc.KafkaConnector|KafkaConnector] Polling for new tablet f824aa8d2a0f40f0bf9784a3ff6d8a92
2021-10-03 17:37:52,065 [INFO|org.yb.cdc.KafkaConnector|KafkaConnector] Polling for new tablet 56d73bd0a76d4d639341ff9e5254131d
2021-10-03 17:37:52,065 [INFO|org.yb.cdc.KafkaConnector|KafkaConnector] Polling for new tablet f8d01150c4d846e4bcacfb96b322bb5a
2021-10-03 17:37:52,496 [ERROR|org.yb.cdc.KafkaClient|KafkaClient] Error serializing Avro message
2021-10-03 17:37:52,500 [ERROR|org.yb.cdc.KafkaClient|KafkaClient] Error serializing Avro message
2021-10-03 17:37:52,499 [ERROR|org.yb.cdc.KafkaClient|KafkaClient] Error serializing Avro messag
wayfarer-rus commented 2 years ago

Any update on this? Have the same issue.