Class HeaderEnricher<K,V>
- java.lang.Object
-
- org.springframework.kafka.streams.HeaderEnricher<K,V>
-
- Type Parameters:
K
- the key type.V
- the value type.
- All Implemented Interfaces:
org.apache.kafka.streams.kstream.Transformer<K,V,org.apache.kafka.streams.KeyValue<K,V>>
public class HeaderEnricher<K,V> extends java.lang.Object implements org.apache.kafka.streams.kstream.Transformer<K,V,org.apache.kafka.streams.KeyValue<K,V>>
Manipulate the headers.- Since:
- 2.3
- Author:
- Gary Russell
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HeaderEnricher.Container<K,V>
Container object for SpEL evaluation.
-
Constructor Summary
Constructors Constructor Description HeaderEnricher(java.util.Map<java.lang.String,org.springframework.expression.Expression> headerExpressions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
init(org.apache.kafka.streams.processor.ProcessorContext context)
org.apache.kafka.streams.KeyValue<K,V>
transform(K key, V value)
-