| Package | Description |
|---|---|
| co.cask.cdap.logging |
Contains classes that work with log events.
|
| co.cask.cdap.logging.kafka |
Contains classes to fetch messages from with Kafka.
|
| Modifier and Type | Method and Description |
|---|---|
static List<LoggingConfiguration.KafkaHost> |
LoggingConfiguration.getKafkaSeedBrokers(String seedBrokers)
Given a string of format "host1:port1,host2:port2", the function returns a list of Kafka hosts.
|
| Constructor and Description |
|---|
KafkaConsumer(List<LoggingConfiguration.KafkaHost> seedBrokers,
String topic,
int partition,
int fetchTimeoutMs)
Creates a KafkaConsumer with initial set of seed brokers, topic and partition.
|
Copyright © 2015 Cask Data, Inc. Licensed under the Apache License, Version 2.0.