[pulsar-flink]Cache Pulsar client to make it shared among tasks in a process (#5900)

* Cache Pulsar client to make it shared among tasks in a process

* code format & add tests

* fix style

Co-authored-by: Sijie Guo <guosijie@gmail.com>
5 files changed