Sven Erik Knop created KAFKA-7360:
-------------------------------------
Summary: 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
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
(v7.6.3#76005)