[ 
https://issues.apache.org/jira/browse/KAFKA-6861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16463397#comment-16463397
 ] 

ASF GitHub Bot commented on KAFKA-6861:
---------------------------------------

zer0Id0l opened a new pull request #139: [KAFKA-6861] Missing parentheses in 
Kafka Streams documentation
URL: https://github.com/apache/kafka-site/pull/139
 
 
   Adding missing parentheses in the code snippet for Streams Word Count 
tutorial

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Missing ')' in Kafka Streams documentation
> ------------------------------------------
>
>                 Key: KAFKA-6861
>                 URL: https://issues.apache.org/jira/browse/KAFKA-6861
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Ravi Raj Singh
>            Priority: Trivial
>
> Page: [https://kafka.apache.org/11/documentation/streams/tutorial]
> Code snippet: 
> {{KStream<String, String> source = 
> builder.stream(}}{{"streams-plaintext-input"}}{{);}}
> {{source.flatMapValues(value -> 
> Arrays.asList(value.toLowerCase(Locale.getDefault()).split(}}{{"\\W+"}}{{)))}}
> {{      }}{{.groupBy((key, value) -> value)}}
> {{      }}{{.count(Materialized.<String, Long, KeyValueStore<Bytes, 
> }}{{byte}}{{[]>>as(}}{{"counts-store"}}{{))}}
> {{      }}{{.toStream()}}
> {{      }}{{.to(}}{{"streams-wordcount-output"}}{{, 
> Produced.with(Serdes.String(), Serdes.Long{color:#d04437}());{color}}}
> {{Should have an additional closing parentheses after Serdes.Long.}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to