I wrote this stream apps using this approach: a StreamConfigs class:
StreamConfigs
@Configuration @EnableKafka public class StreamConfigs { @Value(...) private