confluentinc/kafka-streams-examples

Is The class of DeserializationExceptionHandler support construct with parameters

egbertbox opened this issue · 1 comments

Hi, team,
We want to customize DeserializationExceptionHandler.class which get instance with parameters.
like this.
public DeserializationExceptionHandlerNew(Redisclient redisclient)

Is it possible?

mjsax commented

Well, not via the constructor.

DeserializationExceptionHandler implements Configurable interface, so you can actually implement the configure(Map<String, ?> configs) method to create a Redisclient and use it later.