Class To
java.lang.Object
org.apache.kafka.streams.processor.To
This class is used to provide the optional parameters when sending output records to downstream processor
 using 
ProcessorContext.forward(Object, Object, To).- 
Method SummaryModifier and TypeMethodDescriptionstatic Toall()Forward the key/value pair to all downstream processorsstatic ToForward the key/value pair to one of the downstream processors designated by the downstream processor name.booleaninthashCode()Equality is implemented in support of tests, *not* for use in Hash collections, since this class is mutable.toString()withTimestamp(long timestamp) Set the timestamp of the output record.
- 
Method Details- 
childForward the key/value pair to one of the downstream processors designated by the downstream processor name.- Parameters:
- childName- name of downstream processor
- Returns:
- a new Toinstance configured withchildName
 
- 
allForward the key/value pair to all downstream processors- Returns:
- a new Toinstance configured for all downstream processor
 
- 
withTimestampSet the timestamp of the output record.- Parameters:
- timestamp- the output record timestamp
- Returns:
- itself (i.e., this)
 
- 
equals
- 
hashCodepublic int hashCode()Equality is implemented in support of tests, *not* for use in Hash collections, since this class is mutable.
- 
toString
 
-