public class KafkaSourceUtil extends Object
| Constructor and Description |
|---|
KafkaSourceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static kafka.javaapi.consumer.ConsumerConnector |
getConsumer(Properties kafkaProps) |
static Properties |
getKafkaProperties(Context context) |
public static Properties getKafkaProperties(Context context)
public static kafka.javaapi.consumer.ConsumerConnector getConsumer(Properties kafkaProps)
Copyright © 2009-2016 Apache Software Foundation. All Rights Reserved.