[ https://issues.apache.org/jira/browse/KAFKA-7360 ]
Vijay deleted comment on KAFKA-7360: ------------------------------ was (Author: vijaykriishna): [~seknop] 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.20.1#820001)