List of usage examples for org.springframework.kafka.config KafkaStreamsConfiguration asProperties
public Properties asProperties()
From source file:org.springframework.kafka.config.StreamsBuilderFactoryBean.java
/** * Construct an instance with the supplied streams configuration and * clean up configuration.//from w w w .j a v a2 s.com * @param streamsConfig the streams configuration. * @param cleanupConfig the cleanup configuration. * @since 2.2 */ public StreamsBuilderFactoryBean(KafkaStreamsConfiguration streamsConfig, CleanupConfig cleanupConfig) { Assert.notNull(streamsConfig, STREAMS_CONFIG_MUST_NOT_BE_NULL); Assert.notNull(cleanupConfig, CLEANUP_CONFIG_MUST_NOT_BE_NULL); this.properties = streamsConfig.asProperties(); this.cleanupConfig = cleanupConfig; }