Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to configure mysql consumer #57

Open
wanghaisheng opened this issue Mar 29, 2016 · 3 comments
Open

how to configure mysql consumer #57

wanghaisheng opened this issue Mar 29, 2016 · 3 comments
Labels

Comments

@wanghaisheng
Copy link

i have a mysql server on my remote server with row binlog enabled,then i want to implement a data collection bus using kafka(whether source is mysql or other format log file we use these bus to store them and provide other service ),then i want to consume these topics in kafka to get the exact same mysql database for others to use.
does this make sense?how to realize this

@mardambey
Copy link
Owner

Hi @wanghaisheng, I assume that MySQL's built in replication is not enough for you, and you're better off pushing your data into Kafka so you can push it into other downstream systems, MySQL or not.

Given the above, mypipe will allow you to tune into MySQL replication streams and convert them into Avro encoded data pushed into Kafka topics. You can then consume these topics and do what you wish with the data.

mypipe encodes data using Avro either "specifically" or "generically", and you can consume this data if you know how to decode it. This is documented in the README. Let me know if it is unclear to you and we'll try to make the documentation better where needed.

@wanghaisheng
Copy link
Author

i have got total process steps ,is there anyone have a consume implementation from kafka into mysql

@tramchamploo
Copy link

You'll implement a consumer that consumes all tables' mutations and replay it to another mysql, which is not very hard to do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants