Git Product home page Git Product logo

Comments (4)

jcustenborder avatar jcustenborder commented on August 17, 2024

@tpeikert Thanks for the issue. Are you running into this with one of my connectors? From a high level I don't think that class is really used that much anymore.

from connect-utils.

tpeikert avatar tpeikert commented on August 17, 2024

Sorry, I see now, that I misunderstood. I think the debug log and the names confused here. :)
The debug log states that the batch size for this run will be calculated and then it states the max batch size and the resords.size, but I see now that List records is the list that gets filled and not drained. Therefor this.size is correct to calculate the batch size.
Again, sorry. I was wrong.
And no, I am reading your code because someone used it for a connector and I'm currently writing something very similar to their connector. Just different enough to have to write it yourself. :)

from connect-utils.

jcustenborder avatar jcustenborder commented on August 17, 2024

All good. Take a look at this one though. This is the replacement for that class. I need to mark SourceRecordConcurrentLinkedDeque as deprecated. It has a lot more options and has been under heavy use for a while.

https://github.com/jcustenborder/connect-utils/blob/701de970344599e492049a46474dba2124cd8e6d/connect-utils/src/main/java/com/github/jcustenborder/kafka/connect/utils/data/SourceRecordDequeBuilder.java

from connect-utils.

tpeikert avatar tpeikert commented on August 17, 2024

Neat! Thanks.

from connect-utils.

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.