diff --git a/docs/streams/developer-guide/processor-api.html b/docs/streams/developer-guide/processor-api.html index e07efb16580c6..cb45cd99d49eb 100644 --- a/docs/streams/developer-guide/processor-api.html +++ b/docs/streams/developer-guide/processor-api.html @@ -354,7 +354,7 @@

Accessing Processor Context

-

As we have mentioned in Defining a Stream Processor<\href>, a ProcessorContext control the processing workflow, such as scheduling a punctuation function, and committing the current processed state.

+

As we have mentioned in the Defining a Stream Processor section, a ProcessorContext control the processing workflow, such as scheduling a punctuation function, and committing the current processed state.

This object can also be used to access the metadata related with the application like applicationId, taskId, and stateDir, and also record related metadata as topic, @@ -363,7 +363,7 @@

Accessing Processor ContextHere is an example implementation of how to add a new header to the record:

public void process(String key, String value) {
             
-            // add a heaeder to the elements
+            // add a header to the elements
             context().headers().add.("key", "key"
             }