public final class StreamAppUtils extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
StreamAppUtils.ShutdownHandler |
Constructor and Description |
---|
StreamAppUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
addShutdownHook(StreamAppUtils.ShutdownHandler handler) |
static void |
createMissingTopics(Properties config,
List<TopicCreation> topics) |
static void |
runStreamApp(Properties config,
org.apache.kafka.streams.Topology topology) |
static void |
shutdownExecutorService(ExecutorService executorService) |
public static void createMissingTopics(Properties config, List<TopicCreation> topics)
public static void runStreamApp(Properties config, org.apache.kafka.streams.Topology topology)
public static void shutdownExecutorService(ExecutorService executorService)
public static void addShutdownHook(StreamAppUtils.ShutdownHandler handler)
Copyright © 2019. All rights reserved.