Created
January 18, 2019 13:54
-
-
Save matzew/6e4380a56540b2915bbf7a50649aad04 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package io.my.streams; | |
import java.util.function.Function; | |
@In("from-kafka") | |
@Out("to-http") | |
public class SimpleProcessor implements Function<String, String> { | |
@Override | |
public String apply(final String payload) { | |
// do something... | |
return "result"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment