Coder Social home page Coder Social logo

Comments (4)

Ishiihara avatar Ishiihara commented on July 24, 2024

That is the current behavior. We currently closes all files under a topic partition once the flush size is reached. In case of time based partitioner, when a new file is created, the old file can be safely closed as no more data will be written to the old file. Plus, we know that at any given point of time, we only have one file open and I think we should allow triggering a file commit once that file is closed.

One work around is to set the flush.interval.ms to be roughly the same value as your partition size. This ensures that the file is closed when the flush interval is reached.

from kafka-connect-hdfs.

13h3r avatar 13h3r commented on July 24, 2024

@Ishiihara, do you agree that it will be good to close file when partition changed? I can provide PR

from kafka-connect-hdfs.

13h3r avatar 13h3r commented on July 24, 2024

ping @Ishiihara

from kafka-connect-hdfs.

levzem avatar levzem commented on July 24, 2024

closing as this is addressed by discussion in #80 and by PR #87

from kafka-connect-hdfs.

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.