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
  • Constructor Details

    • HeaderEnricherProcessor

      public HeaderEnricherProcessor(Map<String,Expression> headerExpressions)
      Construct an instance with the provided header expressions.
      Parameters:
      headerExpressions - the header expressions; name:expression.
  • Method Details

    • process

      public void process(org.apache.kafka.streams.processor.api.Record<K,V> record)
    • close

      public void close()