pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] jiazhai opened a new pull request #2791: Debezium: integrate KafkaConnectSource with MySqlConnectorTask
Date Sat, 13 Oct 2018 23:26:51 GMT
jiazhai opened a new pull request #2791: Debezium: integrate KafkaConnectSource with MySqlConnectorTask
URL: https://github.com/apache/pulsar/pull/2791
 
 
   ### Motivation
   This change is to integrate KafkaConnectSource with MySqlConnectorTask.
   Steps to run this is like this:
   1, use image in debezium tutorial, start mysql server
   ```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```
   
   2, start pulsar standalone
   ```bin/pulsar standalone  ```
   
   3,  start consume data from connect source target topic, After step 4 is start, it should
get data.
   ```bin/pulsar-client consume -s "my-sub-name" kafka-connect-topic -n 0```
   
   4, start source connect, It should produce data into Pulsar topics.
    ```bin/pulsar-admin source localrun --tenant public --namespace default --name kafka 
--destination-topic-name  kafka-connect-topic --sourceConfigFile  debezium-mysql-source-config.yaml
 --archive connectors/pulsar-io-kafka-connect-adaptor-2.2.0-SNAPSHOT.nar --brokerServiceUrl
pulsar://127.0.0.1:6650```
   
   
   ### Modifications
   
   Describe the modifications you've done.
   
   ### Result
   
   After your change, what will change.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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

Mime
View raw message