https://kotlinlang.org logo
#announcements
Title
# announcements
a

Alessandro Tagliapietra

09/02/2019, 7:36 PM
Someone knows how to convert this java snippet in kotlin? https://kafka.apache.org/23/javadoc/org/apache/kafka/streams/kstream/KStream.html#process-org.apache.kafka.streams.processor.ProcessorSupplier-java.lang.String...- Specifically the part when it does
return new Processor() {...
?
n

nfrankel

09/02/2019, 7:38 PM
did you try pasting it in intellij?
m

Milan Hruban

09/02/2019, 7:55 PM
a

Alessandro Tagliapietra

09/02/2019, 8:12 PM
@nfrankel yup, it didn't ask me to convert it to kotlin
@Milan Hruban oh thank you!
Copy code
uniqueStream.process(ProcessorSupplier {
            object : Processor<String, Order> {
This worked! Thanks!
👍 1