Skip to content
This repository was archived by the owner on Dec 14, 2022. It is now read-only.
This repository was archived by the owner on Dec 14, 2022. It is now read-only.

[FEATURE]: Configure CryptoKeyReader in FlinkPulsarSource and FlinkPulsarSink #386

@objecttrouve

Description

@objecttrouve

Is your feature request related to a problem? Please describe.

I want to configure a CryptoKeyReader with both a FlinkPulsarSource and a FlinkPulsarSink. I found that this isn't possible just by making settings in the Properties parameter (see also #11562 in the apache/pulsar project).

Describe the solution you'd like

Possibility to pass an instance of CryptoKeyReader as an argument to the construction of FlinkPulsarSource and FlinkPulsarSink.

Describe alternatives you've considered

Specify a class name in the properties and do a PR in the pulsar project that instantiates it. However, in most cases you'll want to configure the CryptoKeyReader and a no-arg instance would be useless. So it's not a good idea.

Additional context

Also asked about it on Slack.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions