Skip to content

Commit

Permalink
KAFKA-4714; TimestampConverter transformation (KIP-66)
Browse files Browse the repository at this point in the history
Author: Ewen Cheslack-Postava <me@ewencp.org>

Reviewers: Konstantine Karantasis <konstantine@confluent.io>, Jason Gustafson <jason@confluent.io>

Closes #3065 from ewencp/kafka-3209-timestamp-converter

(cherry picked from commit 61bab2d)
Signed-off-by: Jason Gustafson <jason@confluent.io>
  • Loading branch information
ewencp authored and hachikuji committed May 19, 2017
1 parent b31df61 commit 64e12d3
Show file tree
Hide file tree
Showing 4 changed files with 826 additions and 2 deletions.
Expand Up @@ -26,6 +26,7 @@
import org.apache.kafka.connect.transforms.RegexRouter;
import org.apache.kafka.connect.transforms.ReplaceField;
import org.apache.kafka.connect.transforms.SetSchemaMetadata;
import org.apache.kafka.connect.transforms.TimestampConverter;
import org.apache.kafka.connect.transforms.TimestampRouter;
import org.apache.kafka.connect.transforms.ValueToKey;

Expand Down Expand Up @@ -58,7 +59,8 @@ private DocInfo(String transformationName, String overview, ConfigDef configDef)
new DocInfo(TimestampRouter.class.getName(), TimestampRouter.OVERVIEW_DOC, TimestampRouter.CONFIG_DEF),
new DocInfo(RegexRouter.class.getName(), RegexRouter.OVERVIEW_DOC, RegexRouter.CONFIG_DEF),
new DocInfo(Flatten.class.getName(), Flatten.OVERVIEW_DOC, Flatten.CONFIG_DEF),
new DocInfo(Cast.class.getName(), Cast.OVERVIEW_DOC, Cast.CONFIG_DEF)
new DocInfo(Cast.class.getName(), Cast.OVERVIEW_DOC, Cast.CONFIG_DEF),
new DocInfo(TimestampConverter.class.getName(), TimestampConverter.OVERVIEW_DOC, TimestampConverter.CONFIG_DEF)
);

private static void printTransformationHtml(PrintStream out, DocInfo docInfo) {
Expand Down

0 comments on commit 64e12d3

Please sign in to comment.