public class ProducerParams extends Object
| Constructor and Description |
|---|
ProducerParams(Long producerId,
Topic topic,
String producerName,
Boolean enableBatching,
Integer batchingMaxMessages,
TimeUnit batchingMaxPublishDelayUnit,
Long batchingMaxPublishDelayValue,
Integer maxPendingMessages,
Map<String,String> properties,
HashingScheme hashingScheme,
TimeUnit sendTimeoutUnit,
Integer sendTimeoutValue) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
batchingMaxMessages() |
boolean |
equals(Object o) |
CompressionType |
getCompressionType() |
Boolean |
getEnableBatching() |
HashingScheme |
getHashingScheme() |
Integer |
getMaxPendingMessages() |
String |
getNamespace() |
Boolean |
getPersistent() |
long |
getProducerId() |
String |
getProducerName() |
Map<String,String> |
getProperties() |
TimeUnit |
getSendTimeoutUnit() |
Integer |
getSendTimeoutValue() |
Topic |
getTopic() |
int |
hashCode() |
String |
toString() |
public ProducerParams(Long producerId, Topic topic, String producerName, Boolean enableBatching, Integer batchingMaxMessages, TimeUnit batchingMaxPublishDelayUnit, Long batchingMaxPublishDelayValue, Integer maxPendingMessages, Map<String,String> properties, HashingScheme hashingScheme, TimeUnit sendTimeoutUnit, Integer sendTimeoutValue)
public long getProducerId()
public Topic getTopic()
public Boolean getPersistent()
public String getNamespace()
public String getProducerName()
public Boolean getEnableBatching()
public Integer batchingMaxMessages()
public HashingScheme getHashingScheme()
public Integer getMaxPendingMessages()
public TimeUnit getSendTimeoutUnit()
public Integer getSendTimeoutValue()
public CompressionType getCompressionType()
Copyright © 2019-2021, TurtleQueue All Rights Reserved. Use is subject to license terms.