I’m using Hendrik Saly’s kafka-end-2-end-encryption. To use this approach the lib has to be added to the classpath, and the serializer has to be overwritten via produver properties. The code doesn’t look like it is possible to pass custom properties to the producer.
It would be great if the current properties were used as default and could be overwritten by a config file or System.properties.
Which implementation would you prefer:
- Properties file as cli argument
- Extending the config file
- Using System.properties