com.github.lontime.extkafka.configuration.ProducerOption Maven / Gradle / Ivy
package com.github.lontime.extkafka.configuration;
import java.util.HashMap;
import java.util.Map;
import lombok.Getter;
import lombok.Setter;
/**
* ProducerOption.
* @author lontime
* @since 1.0
*/
@Getter
@Setter
public class ProducerOption {
/**
* topic.
*/
private String topic;
/**
* partition.
*/
private Integer partition;
/**
* name.
*/
private String name;
/**
* batchSize.
*/
private Integer batchSize;
/**
* props.
*/
private Map specs = new HashMap<>();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy