Coder Social home page Coder Social logo

Comments (2)

Jeffail avatar Jeffail commented on May 26, 2024

Hey @ZachTB123, thanks for mentioning the jsonschema issue, it should be fixed with 8a48856.

Have you tried replacing the kafka_franz input with generate to get some test messages through? Once the request is successful the next thing is acknowledging the message and finalising the transaction, which includes registering the message checkpoint for commit. This shouldn't be blocked on anything that the kafka input is doing but it'd be good to rule it out.

from benthos.

Jeffail avatar Jeffail commented on May 26, 2024

Oh hang on I think I know what's happening, the latency is a bit skewed because it covers the entire batch of messages, so in your case you're probably looking at a trace of a message thats one of a batch of 100 or so and its output trace isn't finished until the entire batch is delivered.

You aren't actually benefitting from batching right now because https://www.benthos.dev/docs/components/outputs/http_client#batch_as_multipart isn't enabled and you aren't archiving the data to reduce the number of requests. I'd say either eliminate the batches by using a split processor to break those messages out, don't do any batching at all, and then maybe try increasing https://www.benthos.dev/docs/components/outputs/http_client#max_in_flight.

from benthos.

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.