[ https://issues.apache.org/jira/browse/KAFKA-7360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17362470#comment-17362470 ]
Vijay edited comment on KAFKA-7360 at 6/15/21, 2:39 AM: -------------------------------------------------------- Can this be assigned to me ? I'd like to work on this. was (Author: vijaykriishna): Can you please assign it to me ? > 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 > 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)