Git Product home page Git Product logo

Comments (5)

wangzw avatar wangzw commented on June 12, 2024

Would you please post more details of your configuration?

from bireme.

aStonegod avatar aStonegod commented on June 12, 2024
# target database where the data will sync into.
target.url = jdbc:postgresql://gpmaster:1921/gpcluster
target.user = gpadmin
target.passwd = gpadmin

# data source name list, separated by comma.
data_source = maxwell1

# data source "mysql1" type
maxwell1.type = maxwell
# kafka server which maxwell write binlog into.
maxwell1.kafka.server = middle:9092
# kafka topic which maxwell write binlog into.
maxwell1.kafka.topic = testpay

# application performance monitor report type: "none", "console", "jmx"
metrics.reporter=console
# interval of console APM reporter.
metrics.reporter.console.interval = 10

# JDBC connection pool size of target database.
loader.conn_pool.size = 10
# queue size of task for each table which is waiting for load.
loader.task_queue.size = 2

# number of threads used to transform data source record into target format.
transform.thread_pool.size = 10

# number of threads used to generate load tasks.
merge.thread_pool.size = 10
# interval of generating a load task in milliseconds.
merge.interval = 10000
# max tuple size for a load task
merge.batch.size = 50000

from bireme.

zhouyuze avatar zhouyuze commented on June 12, 2024

Would please post some examples of Kafka consume record?

from bireme.

aStonegod avatar aStonegod commented on June 12, 2024

HI, kafka record like this :
{"database":"testpayment","table":"tbpaymentorder","type":"insert","ts":1505879683,"xid":9753352,"commit":true,"position":"mysql-bin-m.000014:626525214","data":{"PM_SEQ_NO":"20170920FT018880133","BIZ_PM_SEQ_NO":"2017092004018920133","RELATE_PM_SEQ_NO":null,"PM_TYPE":"FT","GMT_PM":"2017-09-20 03:55:44","GMT_MODIFIED":"2017-09-20 03:54:43","GMT_CREATE":"2017-09-20 03:54:43","MEMO":"2017092011552570735005004","PAY_CHANNEL":"01","BIZ_PRODUCT_CODE":"20201"}}

from bireme.

zhouyuze avatar zhouyuze commented on June 12, 2024

@aStonegod Currently, the column name of table must be the same in MySQL and GPDB.

from bireme.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.