GithubHelp home page GithubHelp logo

Comments (9)

mangobatao avatar mangobatao commented on September 15, 2024

@ronnie8778 yes, you need to do that. SchemaStore is a required component of this system.

from spinaltap.

ronnie8778 avatar ronnie8778 commented on September 15, 2024

@mangobatao Managed to get Spinaltap standalone running, however there is no stream to my Kafka topic, anything I might missed out? My spinaltap standalone config as follow:

zk-connection-string: localhost:2181
zk-namespace: spinaltap-standalone
kafka-config:
  bootstrap_servers: localhost:9092
mysql-user: user
mysql-password: password
mysql-server-id: 1
mysql-schema-store:
    host: localhost
    port: 3306
    database: spinaltap
    archive-database: spinaltap_archive
mysql-sources:
  - name: localhost
    host: localhost
    port: 3306
    host_role: MASTER
    socket_timeout_seconds: -1
    schema_version_enabled: true
    initial_binlog_position:
      fileName: mysql-bin.000001
      position: 1
      nextPosition: 1
    tables:
      - testdb:testcdc

from spinaltap.

mangobatao avatar mangobatao commented on September 15, 2024

@ronnie8778 how did you send insert/update/delete to MySQL? What's in your binary log?

from spinaltap.

zuofei avatar zuofei commented on September 15, 2024

@ronnie8778 schema store is not mandatory to run SpinalTap. You can set schema_version_enabled: false if you don't need it.

This issue is fixed in #19

from spinaltap.

ronnie8778 avatar ronnie8778 commented on September 15, 2024

@zuofei Thanks, let me try it out.

from spinaltap.

ronnie8778 avatar ronnie8778 commented on September 15, 2024

@mangobatao I use insert command to insert rows to the table.

I can see the mysqlbinlog contains what I have inserted to my table and other binary code.

from spinaltap.

ronnie8778 avatar ronnie8778 commented on September 15, 2024

@zuofei Thanks, let me try it out.

@zuofei after pulled from git, do I need to rebuild the software? If I run directly, I hit with the same error.

from spinaltap.

zuofei avatar zuofei commented on September 15, 2024

@ronnie8778 Yes, please rebuild the jar by running ./gradlew shadowjar.
Please paste the logs so we can look into your issue in your setup.

from spinaltap.

ronnie8778 avatar ronnie8778 commented on September 15, 2024

@ronnie8778 Yes, please rebuild the jar by running ./gradlew shadowjar.
Please paste the logs so we can look into your issue in your setup.

@zuofei able to start it now, thanks!

from spinaltap.

Related Issues (4)

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.