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/04/13 08:23:34 UTC

[GitHub] [pulsar] gaoran10 edited a comment on issue #6034: [Pulsar IO][Issue 5633]Support avro schema for debezium connector

gaoran10 edited a comment on issue #6034: [Pulsar IO][Issue 5633]Support avro schema for debezium connector
URL: https://github.com/apache/pulsar/pull/6034#issuecomment-612804157
 
 
   @dennisylyung hi, could you provide some config info about the error logs, such as the pulsar source config and the reproduce steps, thanks.
   
   This is my test steps to follow the demo http://pulsar.apache.org/docs/en/io-debezium-source/#example-of-mysql, but I didn't reproduce your problem.
   
   ```
   # start debezium
   docker run -it --rm \
   --name mysql \
   -p 3306:3306 \
   -e MYSQL_ROOT_PASSWORD=debezium \
   -e MYSQL_USER=mysqluser \
   -e MYSQL_PASSWORD=mysqlpw debezium/example-mysql:0.8
   
   # start pulsar
   bin/pulsar standalone
   
   # start source connector yaml
   bin/pulsar-admin source localrun \
   --source-config-file debezium-mysql-source-config.yaml
   
   # subscribe the topic
   bin/pulsar-client consume -s "sub-products" public/default/dbserver1.inventory.products -n 0
   
   # start mysql
   docker run -it --rm \
   --name mysqlterm \
   --link mysql \
   --rm mysql:5.7 sh \
   -c 'exec mysql -h"$MYSQL_PORT_3306_TCP_ADDR" -P"$MYSQL_PORT_3306_TCP_PORT" -uroot -p"$MYSQL_ENV_MYSQL_ROOT_PASSWORD"'
   ```
   

----------------------------------------------------------------
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


With regards,
Apache Git Services