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

[kafka-streams-scala_2.11] Foreach results in StackOverflowError

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.0.0
    • 2.1.0
    • streams
    • None

    Description

      The following piece of code derived from the kafka-streams/scala examples reproduces the error:

      val textLines: KStream[String, String] = builder.stream[String, String]("streams-plaintext-input")

      textLines.foreach((_, _) => {})

       

      Note: the error doesn't reproduce with kafka-streams-scala_2.12.

      Attachments

        Issue Links

          Activity

            People

              joan@goyeau.com Joan Goyeau
              biordach Bogdan Iordache
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: