forked from apache/pulsar
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Flink] Allow to customize PulsarProducer (apache#3955)
This is an improvement over apache#3894. Because of how Flink instantiates functions, instead of passing a custom `PulsarProducer` client we need to pass an object that is serializable. The current implementation will default to always call `createProducer()` because `producer` is `transient`, so it will always be null when Flink creates new instances of the sink.
- Loading branch information
1 parent
181c341
commit 4101168
Showing
1 changed file
with
16 additions
and
7 deletions.
There are no files selected for viewing
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