Support Kafka's ConsumerConfig.INTERCEPTOR_CLASSES_CONFIG in PulsarKafkaConsumer. (#3911)
* Support Kafka's ConsumerConfig.INTERCEPTOR_CLASSES_CONFIG in PulsarKafkaConsumer.
Apply onConsume in poll() before returning the ConsumerRecords,
apply onCommit in doCommitOffsets() before committing all offsets.
Also apply doc to reflect support for ConsumerConfig.INTERCEPTOR_CLASSES_CONFIG.
* Update error message for applying onConsume and onCommit for interceptors to include the specific interceptor name.
1 file changed