Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

245
Vistas
Kafka Client Connection Pooling

Does it make sense to perform producer/consumer connection pooling of kafka clients?

Does kafka internally maintain a list of connection objects initialized and ready to use?

We'd like to minimize time of connection creation, so that there is no additional overhead when it comes to send/receive messages.

Currently we're using apache commons-pool library GenericObjectPool to keep connections around.

Any help will be appreciated.

about 4 years ago · Santiago Trujillo
1 Respuestas
Responde la pregunta

0

Kafka clients maintain their own connections to the clusters.

Both the Producer and Consumer keep connections alive to the brokers they are interacting with. In case they stop interacting, after connections.max.idle.ms the connection will be closed. This setting also exists on the broker so you may want to verify with your admin if they changed this value.

So in most cases, once started Kafka clients don't create many new connections but just use the ones created at startup

about 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda