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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.1.0
    • Component/s: streams
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: