Skip to content

Commit

Permalink
[issues 3232] integrate flink-json to pulsar (apache#3234)
Browse files Browse the repository at this point in the history
* Implements a batch program on Pulsar topic by writing Flink DataSet as Avro.

* fix up

* remove avro generated

* fix up time-out

* fix up time-out

* fix up

* modify review content code

* modify Tests FAILURE

* run Tests

* run Tests

* fix up pulsar-flink and flink-consumer-source

* fix up pulsar-flink and flink-consumer-source

* add flink streaming table as a Pulsar stream that serializes data in Avro format.

* integrate flink-json to pulsar
  • Loading branch information
ambition119 authored and merlimat committed Dec 21, 2018
1 parent f493676 commit d9691b7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 253 deletions.
6 changes: 6 additions & 0 deletions pulsar-flink/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,12 @@
<optional>true</optional>
</dependency>

<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-json</artifactId>
<version>${flink.version}</version>
</dependency>

<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-avro</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

import org.apache.flink.api.common.serialization.SerializationSchema;
import org.apache.flink.api.java.typeutils.RowTypeInfo;
import org.apache.flink.streaming.connectors.pulsar.serde.JsonRowSerializationSchema;
import org.apache.flink.formats.json.JsonRowSerializationSchema;
import org.apache.flink.types.Row;
import org.apache.pulsar.client.api.ProducerConfiguration;

Expand Down

This file was deleted.

This file was deleted.

0 comments on commit d9691b7

Please sign in to comment.