public class KafkaProducerProperties extends Object
| Constructor and Description |
|---|
KafkaProducerProperties() |
| Modifier and Type | Method and Description |
|---|---|
int |
getBatchTimeout() |
int |
getBufferSize() |
org.springframework.integration.kafka.support.ProducerMetadata.CompressionType |
getCompressionType() |
boolean |
isSync() |
void |
setBatchTimeout(int batchTimeout) |
void |
setBufferSize(int bufferSize) |
void |
setCompressionType(org.springframework.integration.kafka.support.ProducerMetadata.CompressionType compressionType) |
void |
setSync(boolean sync) |
public int getBufferSize()
public void setBufferSize(int bufferSize)
@NotNull public org.springframework.integration.kafka.support.ProducerMetadata.CompressionType getCompressionType()
public void setCompressionType(org.springframework.integration.kafka.support.ProducerMetadata.CompressionType compressionType)
public boolean isSync()
public void setSync(boolean sync)
public int getBatchTimeout()
public void setBatchTimeout(int batchTimeout)
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.