Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-16309

Enabling virtual threads in the Kafka Consumer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • consumer
    • None

    Description

      This is somewhat related to this other issue filed for enabling virtual threads for producers:

      https://issues.apache.org/jira/browse/KAFKA-14606?jql=project%20%3D%20KAFKA%20AND%20text%20~%20%22virtual%20threads%22

      We have some reports in the Spring for Apache Kafka project that the virtual threads support is broken with Kafka consumers. See the following two issues for details:

      1. https://github.com/spring-projects/spring-kafka/issues/3074
      2. https://github.com/spring-projects/spring-kafka/issues/3013

      After some analysis, we need to make some changes in the Kafka consumer code to enable virtual threads. See this comment for more information. 

      Will it be possible to fix this in the consumer codebase?

      Attachments

        Activity

          People

            Unassigned Unassigned
            sobychacko Soby Chacko
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: