public class ApplicationMain extends KafkaStreamsApplicationBase
log| Constructor and Description |
|---|
ApplicationMain() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
buildTopology(org.apache.kafka.streams.kstream.KStreamBuilder builder) |
protected List<DeviceUsage> |
calculateDeviceUsage(UserAction action,
List<DeviceUsage> oldDeviceUsage) |
protected CharSequence |
calculateFavouriteDevice(List<DeviceUsage> deviceUsage) |
static void |
main(String[] args) |
runpublic static void main(String[] args) throws ExecutionException, InterruptedException
protected void buildTopology(org.apache.kafka.streams.kstream.KStreamBuilder builder)
buildTopology in class KafkaStreamsApplicationBaseprotected List<DeviceUsage> calculateDeviceUsage(UserAction action, List<DeviceUsage> oldDeviceUsage)
protected CharSequence calculateFavouriteDevice(List<DeviceUsage> deviceUsage)
Copyright © 2017. All rights reserved.