Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
harinirajendran committed Sep 1, 2022
1 parent 2d5466b commit 0205c2a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ public class SegmentMetadataEventTest
{
SegmentMetadataEvent event = new SegmentMetadataEvent(
"dummy_datasource",
new DateTime("2001-01-01"),
new DateTime("2001-01-01"),
new DateTime("2001-01-01"),
new DateTime("2001-01-01T00:00:00.000Z"),
new DateTime("2001-01-01T00:00:00.000Z"),
new DateTime("2001-01-01T00:00:00.000Z"),
"dummy_version",
java.lang.Boolean.TRUE
);
Expand All @@ -43,9 +43,9 @@ public class SegmentMetadataEventTest
ImmutableMap.<String, Object>builder()
.put(SegmentMetadataEvent.FEED, "segment_metadata")
.put(SegmentMetadataEvent.DATASOURCE, "dummy_datasource")
.put(SegmentMetadataEvent.CREATED_TIME, new DateTime("2001-01-01T00:00:00.000-06:00"))
.put(SegmentMetadataEvent.START_TIME, new DateTime("2001-01-01T00:00:00.000-06:00"))
.put(SegmentMetadataEvent.END_TIME, new DateTime("2001-01-01T00:00:00.000-06:00"))
.put(SegmentMetadataEvent.CREATED_TIME, new DateTime("2001-01-01T00:00:00.000Z"))
.put(SegmentMetadataEvent.START_TIME, new DateTime("2001-01-01T00:00:00.000Z"))
.put(SegmentMetadataEvent.END_TIME, new DateTime("2001-01-01T00:00:00.000Z"))
.put(SegmentMetadataEvent.VERSION, "dummy_version")
.put(SegmentMetadataEvent.IS_COMPACTED, java.lang.Boolean.TRUE)
.build(),
Expand Down
13 changes: 10 additions & 3 deletions extensions-contrib/kafka-segment-metadata-emitter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,16 @@
<version>${protobuf.version}</version>
</dependency>
<dependency>
<groupId>com.google.protobuf</groupId>
<artifactId>protobuf-java-util</artifactId>
<version>${protobuf.version}</version>
<groupId>joda-time</groupId>
<artifactId>joda-time</artifactId>
<version>2.10.5</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-common</artifactId>
<version>4.1.68.Final</version>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
Expand Down

0 comments on commit 0205c2a

Please sign in to comment.