[Issue 4379] [Java Client] Build auth from class and params in PulsarClientImpl (#4381)
* Flink client to accept all pulsar client conf
In this patch, we provide handles for flink connecotr to accept ClientConfigurationData, ProducerConfigurationData, ConsumerConfigurationData so flink client can:
1. accept all params of client, producer and consumer
2. Keep pace with pulsar-client
* Flink client to accept all pulsar client conf
Added test cases
* Removing commented code
* flink: construct auth when building pulsarsource
* fixed failing tests
* removed unused import
* Added builder defaults for lombok builder
Set Auth from class and params (if set) in PulsarClientImpl.java
* Remove @BUilder.default from attributes where no defaults exist
* Added tests for ClientConfiguration Data builders
* cosmetic changes in code
Co-Authored-By: Sijie Guo <guosijie@gmail.com>
* fixing typo
* Removed test, not true anymore
* Removed lombok builders
* fixed the failing tests
* Because the authentication field is transient, it is not serialized. On desirialization then its null and desirialization crashes with NPE
8 files changed