Coder Social home page Coder Social logo

Comments (7)

kongyuan1990 avatar kongyuan1990 commented on August 20, 2024

use tag release-1.12.0

from flink-connector-clickhouse.

kongyuan1990 avatar kongyuan1990 commented on August 20, 2024

and, sink to clickhouse, lost some data
But when I use datastream jdbc connector , No data loss occurred

from flink-connector-clickhouse.

itinycheng avatar itinycheng commented on August 20, 2024

This info is not enough for me to find the problem.
If it happens accidentally, it may be caused by dirty data (I'm not sure).

This exception occurs during sending data to the server-side in clickhouse-jdbc.jar, you'd better do some breakpoint tests, where the exception occurred:
image

from flink-connector-clickhouse.

kongyuan1990 avatar kongyuan1990 commented on August 20, 2024

I tried three test cases.

case 1: use datastream jdbc connector;

5138574713_59063644815_09C7E806-84D3-437C-B58C-8EF244FD47F1

successed sink to clickhouse 9408 datas

case 2: use tag release-1.12.0

successed sink to clickhouse 8578 datas, lost 830 datas , no exception occurred

I still can't find the reason for the loss of data.

case 3: use this source code (https://github.com/liekkassmile/flink-connector-clickhouse)

successed sink to clickhouse 9408 datas

from flink-connector-clickhouse.

itinycheng avatar itinycheng commented on August 20, 2024

OK, can you email or WX me to talk some details about this?

from flink-connector-clickhouse.

kongyuan1990 avatar kongyuan1990 commented on August 20, 2024

WX:snake_kong

from flink-connector-clickhouse.

itinycheng avatar itinycheng commented on August 20, 2024

Tag: release-1.12.0 has a thread-safe bug that causes this problem, bugfix commit: bb4f078, 3451515
Use branch release-1.12 to avoid this issue and I have deleted the tag to prevent more people encounter this.

from flink-connector-clickhouse.

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.