1
votes

Can I use the transform without a state, even if that means changing the key to something else?

Note: I am limited to the methods corresponding to the following version (page):

https://kafka.apache.org/0101/javadoc/org/apache/kafka/streams/kstream/KStream.html

1

1 Answers

1
votes

Yes, you can use transform() without state. Note, that the last parameter stateStoreNames is for options var-args type String... that allows to pass in zero, one, or more store names.

Not sure what you mean by "even if that means changing the key to something else"