public class KafkaBootstrapper extends ThreadBootstrapper
Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
static String |
APPLICATION_ID_CONFIG |
static String |
BOOTSTRAP_TOPICS_CONFIG |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
KafkaBootstrapper() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
init(Config config) |
void |
run() |
getConfig, interrupt, prepare, updateactiveCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic static final String BOOTSTRAP_TOPICS_CONFIG
public static final String APPLICATION_ID_CONFIG
public void init(Config config) throws IOException
IOExceptionpublic void close()
Copyright © 2017–2018. All rights reserved.