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

WordCount example code error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 0.11.0.2
    • 2.0.0
    • documentation, streams
    • Hide
      There is a left bracket "(" missed in the WordCount example tutorial

      https://kafka.apache.org/10/documentation/streams/tutorial

      at the end of the page ,line 31

      31 .to("streams-wordcount-output", Produced.with(Serdes.String(), Serdes.Long());

      should be

      31 .to("streams-wordcount-output", Produced.with(Serdes.String(), Serdes.Long()));
      Show
      There is a left bracket "(" missed in the WordCount example tutorial https://kafka.apache.org/10/documentation/streams/tutorial at the end of the page ,line 31 31 .to("streams-wordcount-output", Produced.with(Serdes.String(), Serdes.Long()); should be 31 .to("streams-wordcount-output", Produced.with(Serdes.String(), Serdes.Long()));

    Description

      This is a "(" missed in the WordCount example tutorial

      https://kafka.apache.org/10/documentation/streams/tutorial

      at the end of the page ,line 31

      31   .to("streams-wordcount-output", Produced.with(Serdes.String(), Serdes.Long());

      should be 

      31 .to("streams-wordcount-output", Produced.with(Serdes.String(), Serdes.Long()));{{}}

      Attachments

        Activity

          People

            joel@confluent.io Joel Hamill
            jonyhy JONYhao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 168h
                168h
                Remaining:
                Remaining Estimate - 168h
                168h
                Logged:
                Time Spent - Not Specified
                Not Specified