public class KafkaConnector extends BulletConnector
BulletConnector that reads and deserializes messages from Kafka.config| Constructor and Description |
|---|
KafkaConnector(com.yahoo.bullet.common.BulletConfig bulletConfig)
Constructs a KafkaConnector from a given configuration.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
initialize()
Initializes the BulletConnector.
|
List<Object> |
read()
Reads and deserializes messages from a data source.
|
frompublic KafkaConnector(com.yahoo.bullet.common.BulletConfig bulletConfig)
bulletConfig - The configuration that specifies the settings for a KafkaConnector.public void initialize()
BulletConnectorinitialize in class BulletConnectorpublic List<Object> read() throws BulletDSLException
BulletConnectorread in class BulletConnectorBulletDSLException - if there is a connection or reading error.public void close()
Copyright © 2021. All rights reserved.