public class KafkaSupervisorIOConfig extends SeekableStreamSupervisorIOConfig
| Modifier and Type | Field and Description |
|---|---|
static String |
BOOTSTRAP_SERVERS_KEY |
static long |
DEFAULT_POLL_TIMEOUT_MILLIS |
static String |
KEY_PASSWORD_KEY |
static String |
KEY_STORE_PASSWORD_KEY |
static String |
TRUST_STORE_PASSWORD_KEY |
| Constructor and Description |
|---|
KafkaSupervisorIOConfig(String topic,
Integer replicas,
Integer taskCount,
org.joda.time.Period taskDuration,
Map<String,Object> consumerProperties,
Long pollTimeout,
org.joda.time.Period startDelay,
org.joda.time.Period period,
Boolean useEarliestOffset,
org.joda.time.Period completionTimeout,
org.joda.time.Period lateMessageRejectionPeriod,
org.joda.time.Period earlyMessageRejectionPeriod,
Boolean skipOffsetGaps) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getConsumerProperties() |
long |
getPollTimeout() |
String |
getTopic() |
boolean |
isSkipOffsetGaps() |
boolean |
isUseEarliestOffset() |
String |
toString() |
getCompletionTimeout, getEarlyMessageRejectionPeriod, getLateMessageRejectionPeriod, getPeriod, getReplicas, getStartDelay, getStream, getTaskCount, getTaskDuration, isUseEarliestSequenceNumberpublic static final String BOOTSTRAP_SERVERS_KEY
public static final String TRUST_STORE_PASSWORD_KEY
public static final String KEY_STORE_PASSWORD_KEY
public static final String KEY_PASSWORD_KEY
public static final long DEFAULT_POLL_TIMEOUT_MILLIS
public KafkaSupervisorIOConfig(String topic, Integer replicas, Integer taskCount, org.joda.time.Period taskDuration, Map<String,Object> consumerProperties, Long pollTimeout, org.joda.time.Period startDelay, org.joda.time.Period period, Boolean useEarliestOffset, org.joda.time.Period completionTimeout, org.joda.time.Period lateMessageRejectionPeriod, org.joda.time.Period earlyMessageRejectionPeriod, Boolean skipOffsetGaps)
public String getTopic()
public long getPollTimeout()
public boolean isUseEarliestOffset()
public boolean isSkipOffsetGaps()
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.