You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/08/30 14:36:41 UTC

[GitHub] [pulsar] elgca opened a new issue #7935: Failed to create a connector, NumberFormatException Error!

elgca opened a new issue #7935:
URL: https://github.com/apache/pulsar/issues/7935


   I'm try to create a Mysql-Connector in a bare-metal cluster. But got an Exception.
   
   ```shell
   [pulsar@pulsar-node3 apache-pulsar-2.6.1]$ cat debezium-mysql-source-config.yaml
   tenant: "public"
   namespace: "default"
   name: "debezium-mysql-source"
   topicName: "debezium-mysql-topic"
   archive: "connectors/pulsar-io-debezium-mysql-2.6.1.nar"
   parallelism: 1
   configs:
       database.hostname: "192.168.0.101"
       database.port: "3306"
       database.user: "debezium"
       database.password: "dbz"
       database.server.id: "184054"
       database.server.name: "dbserver1"
       database.whitelist: "inventory"
       database.history: "org.apache.pulsar.io.debezium.PulsarDatabaseHistory"
       database.history.pulsar.topic: "history-topic"
       database.history.pulsar.service.url: "pulsar://pulsar-node1:6650,pulsar-node2:6650,pulsar-node3:6650"
       key.converter: "org.apache.kafka.connect.json.JsonConverter"
       value.converter: "org.apache.kafka.connect.json.JsonConverter"
       pulsar.service.url: "pulsar://pulsar-node1:6650,pulsar-node2:6650,pulsar-node3:6650"
       offset.storage.topic: "offset-topic"
   [pulsar@pulsar-node3 apache-pulsar-2.6.1]$ ll connectors/
   total 130548
   -rw-rw-r--. 1 pulsar pulsar 133680704 Aug 30 03:47 pulsar-io-debezium-mysql-2.6.1.nar
   [pulsar@pulsar-node3 apache-pulsar-2.6.1]$ bin/pulsar-admin source create --archive \
   > connectors/pulsar-io-debezium-mysql-2.6.1.nar \
   > --source-config-file debezium-mysql-source-config.yaml
   null
   
   Reason: java.lang.NumberFormatException: For input string: "8080,pulsar-node2:8080,pulsar-node3:8080"
   
   ```
   
   cluster node : vm 2g * 3
   OS : centos7 
   pulsar version : 2.6.1
   java version : openjdk8
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] Technoboy- commented on issue #7935: Failed to create a connector, NumberFormatException Error!

Posted by GitBox <gi...@apache.org>.
Technoboy- commented on issue #7935:
URL: https://github.com/apache/pulsar/issues/7935#issuecomment-683799570


   Hi, @codelipenghui  I want to try to resolve this issue, could you give some idea?  I'm newer to this project.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] codelipenghui commented on issue #7935: Failed to create a connector, NumberFormatException Error!

Posted by GitBox <gi...@apache.org>.
codelipenghui commented on issue #7935:
URL: https://github.com/apache/pulsar/issues/7935#issuecomment-721703941


   close by https://github.com/apache/pulsar/pull/8143


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] Technoboy- commented on issue #7935: Failed to create a connector, NumberFormatException Error!

Posted by GitBox <gi...@apache.org>.
Technoboy- commented on issue #7935:
URL: https://github.com/apache/pulsar/issues/7935#issuecomment-683820811


   @elgca Could you give more detailed error log ? 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] codelipenghui closed issue #7935: Failed to create a connector, NumberFormatException Error!

Posted by GitBox <gi...@apache.org>.
codelipenghui closed issue #7935:
URL: https://github.com/apache/pulsar/issues/7935


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org