public static class KafkaProperties.Producer extends Object
Constructor and Description |
---|
Producer() |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
buildProperties() |
String |
getAcks() |
Integer |
getBatchSize() |
List<String> |
getBootstrapServers() |
Long |
getBufferMemory() |
String |
getClientId() |
String |
getCompressionType() |
Class<?> |
getKeySerializer() |
Integer |
getRetries() |
KafkaProperties.Ssl |
getSsl() |
String |
getTransactionIdPrefix() |
Class<?> |
getValueSerializer() |
void |
setAcks(String acks) |
void |
setBatchSize(Integer batchSize) |
void |
setBootstrapServers(List<String> bootstrapServers) |
void |
setBufferMemory(Long bufferMemory) |
void |
setClientId(String clientId) |
void |
setCompressionType(String compressionType) |
void |
setKeySerializer(Class<?> keySerializer) |
void |
setRetries(Integer retries) |
void |
setTransactionIdPrefix(String transactionIdPrefix) |
void |
setValueSerializer(Class<?> valueSerializer) |
public KafkaProperties.Ssl getSsl()
public String getAcks()
public void setAcks(String acks)
public Integer getBatchSize()
public void setBatchSize(Integer batchSize)
public Long getBufferMemory()
public void setBufferMemory(Long bufferMemory)
public String getClientId()
public void setClientId(String clientId)
public String getCompressionType()
public void setCompressionType(String compressionType)
public String getTransactionIdPrefix()
public void setTransactionIdPrefix(String transactionIdPrefix)
public Class<?> getKeySerializer()
public void setKeySerializer(Class<?> keySerializer)
public Class<?> getValueSerializer()
public void setValueSerializer(Class<?> valueSerializer)
public Integer getRetries()
public void setRetries(Integer retries)
Copyright © 2010–2018. All rights reserved.