Base trait for everything Kafka config related.
Base trait for making builders that set kafka config.
Base trait for making builders that set kafka config. Gives you helpers for setting the config with values of different types:
If your builder would be useful as part of another builder, implement your methods in a method trait that extends KafkaConfigMethods, so that other builders can include you. See KafkaProducerConfigMethods and FinagleKafkaConsumerBuilderMethods for examples of this pattern.
The type of your concrete builder. This lets all the convenience methods here and all the methods defined in intermediate traits return that type.
Extend in your concrete configuration object so that the configMap can be converted to java.util.Properties.
Extend in your concrete configuration object so that the configMap can be converted to java.util.Properties.
See KafkaProducerConfig and FinagleKafkaConsumerConfig for examples of this pattern.
Base trait for everything Kafka config related. Kafka's configuration eventually ends up in a java.util.Properties (see ToKafkaProperties below).
We keep it in a Map[String, String] for convenience until the last possible moment.