Example usage for org.springframework.kafka.core CleanupConfig CleanupConfig

List of usage examples for org.springframework.kafka.core CleanupConfig CleanupConfig

Introduction

In this page you can find the example usage for org.springframework.kafka.core CleanupConfig CleanupConfig.

Prototype

public CleanupConfig() 

Source Link

Usage

From source file:org.springframework.kafka.config.StreamsBuilderFactoryBean.java

/**
 * Default constructor that creates the factory without configuration
 * {@link Properties}. It is the factory user's responsibility to properly set
 * {@link Properties} using//  w  w  w . j  a va 2  s . c  o  m
 * {@link StreamsBuilderFactoryBean#setStreamsConfiguration(Properties)}.
 * @since 2.1.3.
 */
public StreamsBuilderFactoryBean() {
    this.cleanupConfig = new CleanupConfig();
}

From source file:org.springframework.kafka.config.StreamsBuilderFactoryBean.java

/**
 * Construct an instance with the supplied streams configuration.
 * @param streamsConfig the streams configuration.
 * @deprecated in favor of {@link #StreamsBuilderFactoryBean(KafkaStreamsConfiguration)}
 *///  w ww.j  av  a 2  s .c  o  m
@Deprecated
public StreamsBuilderFactoryBean(StreamsConfig streamsConfig) {
    this(streamsConfig, new CleanupConfig());
}

From source file:org.springframework.kafka.config.StreamsBuilderFactoryBean.java

/**
 * Construct an instance with the supplied streams configuration.
 * @param streamsConfig the streams configuration.
 * @deprecated in favor of {@link #StreamsBuilderFactoryBean(KafkaStreamsConfiguration)}.
 *//*from w  ww.j  av a 2s  .  c  o m*/
@Deprecated
public StreamsBuilderFactoryBean(Map<String, Object> streamsConfig) {
    this(streamsConfig, new CleanupConfig());
}

From source file:org.springframework.kafka.config.StreamsBuilderFactoryBean.java

/**
 * Construct an instance with the supplied streams configuration.
 * @param streamsConfig the streams configuration.
 * @since 2.2/* ww w  .ja v  a2 s  .com*/
 */
public StreamsBuilderFactoryBean(KafkaStreamsConfiguration streamsConfig) {
    this(streamsConfig, new CleanupConfig());
}