From e1ad701a50d49f8654aa01797bcd6698437313f1 Mon Sep 17 00:00:00 2001 From: Guozhang Wang Date: Tue, 17 Jul 2018 14:50:29 -0700 Subject: [PATCH] minor fixes --- docs/streams/developer-guide/processor-api.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"
             }