Giter VIP home page Giter VIP logo

Comments (7)

rfoltyns avatar rfoltyns commented on May 28, 2024

@JeromeSoussens Good point!
The only workaround atm is to extend JestHttpObjectFactory(log4j2-elasticsearch-jest), JestClientFactory(jest) and HttpClientConfig(jest).

IOReactorConfig.setIOThreadCount(int) allows to configure it and set it at AbstractMultiworkerIOReactor:157, so I'll just expose it via ioThreadCount attribute at JestHttp and JestBufferedHttp in 1.3.1 (I'm planning on releasing it soon).

Great find! Thank you! 👍

from log4j2-elasticsearch.

JeromeSoussens avatar JeromeSoussens commented on May 28, 2024

Hi @rfoltyns ,
Thanks for your reply, that would be great to be able to configure the ioThreadCount !

from log4j2-elasticsearch.

JeromeSoussens avatar JeromeSoussens commented on May 28, 2024

Hi @rfoltyns ,
What are your plans regarding the fix for this issue ? Will it be in the next release ?

Thanks

from log4j2-elasticsearch.

rfoltyns avatar rfoltyns commented on May 28, 2024

@JeromeSoussens I had to shift the priorities a bit due to more and more issues related with Spring Boot startup. I had to patch it asap.
I''ve planned to work on ioThreadCount this week though.. along with the extension of lifecycle integration to JestHttpClient. Hoping to fix another Spring Boot "quirk" - even though ioThreadCount is, e.g.: 8, actual number of IO threads is 16 cause the client starts twice!
Lifecycle extension and ioThreadCount config WILL be released in 1.3.2 (first half of February)

from log4j2-elasticsearch.

rfoltyns avatar rfoltyns commented on May 28, 2024

Released in 1.3.2
Enjoy! :)

from log4j2-elasticsearch.

JeromeSoussens avatar JeromeSoussens commented on May 28, 2024

Thank you very much !
It works like a charm.

from log4j2-elasticsearch.

rfoltyns avatar rfoltyns commented on May 28, 2024

Glad to help! Thanks again for this.
If you have any other suggestions regarding useful config options, feel free to open more issues or PRs.

BTW, I've found that shrinking IO threads too low can choke the client easily on higher workloads, so use with caution ;)

from log4j2-elasticsearch.

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.