[ https://issues.apache.org/jira/browse/KAFKA-7360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17413701#comment-17413701 ]
Vijay edited comment on KAFKA-7360 at 9/14/21, 11:35 AM: --------------------------------------------------------- [~seknop] Please review [https://github.com/apache/kafka/pull/10873] was (Author: vijaykriishna): Please review [https://github.com/apache/kafka/pull/10873] > Code example in "Accessing Processor Context" misses a closing parenthesis > -------------------------------------------------------------------------- > > Key: KAFKA-7360 > URL: https://issues.apache.org/jira/browse/KAFKA-7360 > Project: Kafka > Issue Type: Bug > Components: documentation > Affects Versions: 2.0.0 > Reporter: Sven Erik Knop > Assignee: Vijay > Priority: Minor > > https://kafka.apache.org/20/documentation/streams/developer-guide/processor-api.html#accessing-processor-context > Code example has some issues: > public void process(String key, String value) { > > // add a header to the elements > context().headers().add.("key", "key" > } > Should be > public void process(String key, String value) { > > // add a header to the elements > context().headers().add("key", "value") > } -- This message was sent by Atlassian Jira (v8.3.4#803005)