Skip to content

Producer goes to retry-backoff by send_offsets_to_transaction() thus degrading performance #967

@Traktormaster

Description

@Traktormaster

Description

For some reason the send_offsets_to_transaction() call will be 50+ times slower when there is more than one message in the input topic of the transactor.

How to reproduce

I've made a reproduction demo that has two modes of operation. In one the issue is present and in the other it is absent.

The readme in that repository contains detailed information about the environment, the issue and the demo. There are log excerpts from the clients and the broker.

Checklist

Please provide the following information:

  • confluent-kafka-python and librdkafka version (confluent_kafka.version() and confluent_kafka.libversion()): ('1.5.0', 17104896) ('1.5.0', 17105151)
  • Apache Kafka broker version: 2.5.0 or 2.6.0
  • Client configuration: see reproduction demo
  • Operating system: Linux 5.8.14
  • Provide client logs (with 'debug': '..' as necessary): see reproduction demo
  • Provide broker log excerpts: see reproduction demo
  • Critical issue: nearly unusable performance when the issue is present

Metadata

Metadata

Assignees

No one assigned

    Labels

    component:librdkafkaFor issues tied to the librdkfka elementscomponent:producerIssues tied specifically to producer logic or code pathsinvestigate furtherIt's unclear what the issue is at this time but there is enough interest to look into it

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy