Class HeaderEnricherProcessor<K,V>
java.lang.Object
org.apache.kafka.streams.processor.api.ContextualProcessor<K,V,K,V>
org.springframework.kafka.streams.HeaderEnricherProcessor<K,V>
- Type Parameters:
K
- the input key type.V
- the input value type.
- All Implemented Interfaces:
org.apache.kafka.streams.processor.api.Processor<K,
V, K, V>
public class HeaderEnricherProcessor<K,V>
extends org.apache.kafka.streams.processor.api.ContextualProcessor<K,V,K,V>
Manipulate the headers.
- Since:
- 3.0
- Author:
- Gary Russell
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Container object for SpEL evaluation. -
Constructor Summary
ConstructorDescriptionHeaderEnricherProcessor
(Map<String, Expression> headerExpressions) Construct an instance with the provided header expressions. -
Method Summary
Methods inherited from class org.apache.kafka.streams.processor.api.ContextualProcessor
context, init
-
Constructor Details
-
HeaderEnricherProcessor
Construct an instance with the provided header expressions.- Parameters:
headerExpressions
- the header expressions; name:expression.
-
-
Method Details
-
process
-
close
public void close()
-