Skip to content

Commit

Permalink
[FLINK-31048][Connector/Pulsar] Fix incorrect java doc in PulsarSourc…
Browse files Browse the repository at this point in the history
…e and PulsarSourceBuilder.

This closes apache#28
  • Loading branch information
reswqa committed Feb 14, 2023
1 parent 2278653 commit fb98096
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
* .setServiceUrl(getServiceUrl())
* .setAdminUrl(getAdminUrl())
* .setSubscriptionName("test")
* .setDeserializationSchema(PulsarDeserializationSchema.flinkSchema(new SimpleStringSchema()))
* .setDeserializationSchema(new SimpleStringSchema())
* .setBounded(StopCursor::defaultStopCursor)
* .build();
* }</pre>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
* .setAdminUrl(PULSAR_BROKER_HTTP_URL)
* .setSubscriptionName("flink-source-1")
* .setTopics(Arrays.asList(TOPIC1, TOPIC2))
* .setDeserializationSchema(PulsarDeserializationSchema.flinkSchema(new SimpleStringSchema()))
* .setDeserializationSchema(new SimpleStringSchema())
* .build();
* }</pre>
*
Expand Down Expand Up @@ -118,7 +118,7 @@
* .setAdminUrl(PULSAR_BROKER_HTTP_URL)
* .setSubscriptionName("flink-source-1")
* .setTopics(Arrays.asList(TOPIC1, TOPIC2))
* .setDeserializationSchema(PulsarDeserializationSchema.flinkSchema(new SimpleStringSchema()))
* .setDeserializationSchema(new SimpleStringSchema())
* .setUnboundedStopCursor(StopCursor.atEventTime(System.currentTimeMillis()))
* .build();
* }</pre>
Expand Down

0 comments on commit fb98096

Please sign in to comment.