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() |
Map<String,String> |
getProperties() |
Integer |
getRetries() |
KafkaProperties.Ssl |
getSsl() |
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 |
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 Class<?> getKeySerializer()
public void setKeySerializer(Class<?> keySerializer)
public Class<?> getValueSerializer()
public void setValueSerializer(Class<?> valueSerializer)
public Integer getRetries()
public void setRetries(Integer retries)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.